Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 192.3 kB / 16.67 MB, free: 6.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.89 kB / 1.018 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3243, allocations: 151.6 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003134/0.3274, allocations: 1.728 MB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.329, allocations: 0.9046 MB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.3291, allocations: 4 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.3293, allocations: 19.73 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.3296, allocations: 123.4 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.33, allocations: 159.6 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3303, allocations: 243.3 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3304, allocations: 41.66 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3306, allocations: 115.6 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/0.3432, allocations: 1.652 MB / 1.171 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3433, allocations: 16 kB / 1.171 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3435, allocations: 36 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.3436, allocations: 51.75 kB / 1.171 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3437, allocations: 95.56 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.3442, allocations: 215.1 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3442, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3442, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3442, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009276/0.3451, allocations: 0.5564 MB / 1.172 GB, free: 1.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3452, allocations: 8.031 kB / 1.172 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.3452, allocations: 46.73 kB / 1.172 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.3453, allocations: 20.84 kB / 1.172 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.3457, allocations: 251.3 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3457, allocations: 8 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.3457, allocations: 16 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.346, allocations: 113.6 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.346, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.346, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.346, allocations: 11.94 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3461, allocations: 57.94 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.347, allocations: 0.5435 MB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3472, allocations: 101.1 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.3473, allocations: 37.78 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3473, allocations: 3.938 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.3476, allocations: 132.8 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.3476, allocations: 3.938 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0003479/0.3479, allocations: 164.8 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.348, allocations: 81.11 kB / 1.174 GB, free: 96 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3483, allocations: 202.5 kB / 1.174 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3483, allocations: 33.7 kB / 1.174 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3484, allocations: 120.5 kB / 1.174 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.3485, allocations: 39.84 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.3486, allocations: 61.67 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3487, allocations: 326.8 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.3488, allocations: 31.98 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3491, allocations: 147.5 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3493, allocations: 110 kB / 1.175 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3493, allocations: 0 / 1.175 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002726/0.3495, allocations: 165.4 kB / 1.175 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3496, allocations: 11.92 kB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3496, allocations: 0 / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3496, allocations: 4 kB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.3497, allocations: 16 kB / 1.175 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.3497, allocations: 4 kB / 1.175 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.3499, allocations: 23.92 kB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.35, allocations: 12.09 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.3501, allocations: 145.7 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.3502, allocations: 19.84 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.3502, allocations: 25.52 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3502, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3502, allocations: 4 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3502, allocations: 0 / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.3509, allocations: 462.3 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3509, allocations: 4 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.3509, allocations: 3.938 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.351, allocations: 4 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.351, allocations: 3.938 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.351, allocations: 4 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.351, allocations: 3.984 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.3512, allocations: 232.2 kB / 1.176 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.3513, allocations: 93 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.3513, allocations: 11.94 kB / 1.176 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3515, allocations: 11.98 kB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.3515, allocations: 19.92 kB / 1.176 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3516, allocations: 11.98 kB / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001327/0.3517, allocations: 139.2 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3517, allocations: 0 / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003354/0.3521, allocations: 55.83 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000866/0.3529, allocations: 0.8312 MB / 1.177 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3532, allocations: 103.8 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3532, allocations: 320 / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.383e-05/0.3533, allocations: 51.92 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3537, allocations: 54.39 kB / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.356, allocations: 1.953 MB / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3563, allocations: 0.7203 MB / 1.18 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.401e-05/0.3564, allocations: 21.53 kB / 1.18 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3565, allocations: 55.41 kB / 1.18 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.3565, allocations: 0 / 1.18 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.212/1.568, allocations: 5.563 MB / 1.185 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.83, allocations: 11.91 kB / 1.185 GB, free: 4.059 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches