Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.00838/0.008381, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.002201, allocations: 63.89 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8157, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.005583/0.8213, allocations: 1.744 MB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.8238, allocations: 0.893 MB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.824, allocations: 11.88 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.8243, allocations: 23.73 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.8249, allocations: 123.4 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.8255, allocations: 155.7 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005065/0.8261, allocations: 231.4 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.8263, allocations: 41.66 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.8266, allocations: 119.6 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02265/0.8493, allocations: 1.984 MB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.8494, allocations: 16 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.8497, allocations: 43.97 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.8498, allocations: 39.78 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.85, allocations: 99.48 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.8506, allocations: 219.3 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8506, allocations: 0 / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8506, allocations: 0 / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.8506, allocations: 0 / 1.213 GB, free: 8.387 MB / 0.9356 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.001251/0.8519, allocations: 0.5605 MB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.852, allocations: 8.031 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.8521, allocations: 42.73 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.8522, allocations: 20.75 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.8526, allocations: 239.3 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.8527, allocations: 8 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.8527, allocations: 27.86 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.8531, allocations: 112.7 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.8531, allocations: 0 / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.8532, allocations: 4 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.8532, allocations: 4 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.8534, allocations: 51.97 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.8548, allocations: 0.5395 MB / 1.214 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.8551, allocations: 97.06 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.8552, allocations: 45.77 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.8553, allocations: 7.938 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004918/0.8558, allocations: 121.2 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/0.8558, allocations: 0 / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0006094/0.8564, allocations: 161.6 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.8565, allocations: 85.22 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.8569, allocations: 204.2 kB / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.857, allocations: 33.69 kB / 1.215 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.8571, allocations: 124.5 kB / 1.215 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.8572, allocations: 27.56 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.8574, allocations: 61.67 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8576, allocations: 330.8 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.8577, allocations: 31.98 kB / 1.216 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.8581, allocations: 137.3 kB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.8584, allocations: 116.4 kB / 1.216 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.8584, allocations: 0 / 1.216 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004302/0.8589, allocations: 161.4 kB / 1.216 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8589, allocations: 8 kB / 1.216 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8589, allocations: 0 / 1.216 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.859, allocations: 8.156 kB / 1.216 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.8591, allocations: 23.86 kB / 1.216 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.8592, allocations: 7.938 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.8596, allocations: 27.83 kB / 1.216 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.8596, allocations: 4 kB / 1.216 GB, free: 4.652 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.0002098/0.8598, allocations: 143.5 kB / 1.216 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.8599, allocations: 19.8 kB / 1.216 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.86, allocations: 17.53 kB / 1.216 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.86, allocations: 4 kB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.86, allocations: 0 / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.8601, allocations: 7.984 kB / 1.216 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.8611, allocations: 454.2 kB / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8611, allocations: 0 / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.8611, allocations: 15.92 kB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.8612, allocations: 4 kB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.8612, allocations: 3.938 kB / 1.217 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.8612, allocations: 4 kB / 1.217 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8612, allocations: 0 / 1.217 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.8617, allocations: 234.7 kB / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/0.8618, allocations: 92.92 kB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.8618, allocations: 3.938 kB / 1.217 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.8621, allocations: 15.98 kB / 1.217 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.8622, allocations: 23.97 kB / 1.217 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.8622, allocations: 4 kB / 1.217 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002217/0.8625, allocations: 148.2 kB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4e-07/0.8625, allocations: 0 / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006062/0.8631, allocations: 51.92 kB / 1.217 GB, free: 3.328 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.001204/0.8643, allocations: 0.8367 MB / 1.218 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.8648, allocations: 107.6 kB / 1.218 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8648, allocations: 0 / 1.218 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.865, allocations: 51.92 kB / 1.218 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.8657, allocations: 52.27 kB / 1.218 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.8692, allocations: 1.922 MB / 1.22 GB, free: 248 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.8696, allocations: 0.7203 MB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.8698, allocations: 25.47 kB / 1.221 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.87, allocations: 59.41 kB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.87, allocations: 0 / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.9025, allocations: 5.648 MB / 1.227 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.885, allocations: 0 / 1.227 GB, free: 9.953 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activate,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activate,scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y