Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.007715/0.007715, allocations: 104.4 kB / 15.74 MB, free: 6.039 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.001733/0.001734, allocations: 196.3 kB / 16.68 MB, free: 5.957 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 55.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8312, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003811/0.8351, allocations: 1.755 MB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.8369, allocations: 0.8968 MB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.8371, allocations: 4 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.8373, allocations: 23.72 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.8378, allocations: 119.4 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.8383, allocations: 147.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.8386, allocations: 239.4 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.8388, allocations: 37.66 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.839, allocations: 111.6 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.8514, allocations: 2.028 MB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/0.8515, allocations: 16 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.8517, allocations: 43.98 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.8518, allocations: 39.78 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.852, allocations: 99.55 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.8524, allocations: 215.3 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8524, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8524, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.8525, allocations: 0 / 1.213 GB, free: 8.34 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009149/0.8534, allocations: 0.5527 MB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.8534, allocations: 8.031 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.8535, allocations: 46.73 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.8536, allocations: 24.66 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.8539, allocations: 231.4 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.8539, allocations: 15.98 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.854, allocations: 19.94 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.8542, allocations: 87.02 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.8542, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.8542, allocations: 8 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8542, allocations: 0 / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.8543, allocations: 51.97 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.8552, allocations: 476.2 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.8557, allocations: 138.7 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.8557, allocations: 32.84 kB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.8558, allocations: 4 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.8561, allocations: 107.3 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.8561, allocations: 4 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003772/0.8565, allocations: 161.4 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.8565, allocations: 59.34 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.8567, allocations: 196.3 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.8568, allocations: 37.69 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.8569, allocations: 124.4 kB / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.8569, allocations: 27.62 kB / 1.215 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.857, allocations: 61.67 kB / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8572, allocations: 334.8 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.8572, allocations: 27.98 kB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.8575, allocations: 127.6 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.8576, allocations: 105.6 kB / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8577, allocations: 4 kB / 1.216 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002515/0.8579, allocations: 154.5 kB / 1.216 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8579, allocations: 4 kB / 1.216 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8579, allocations: 0 / 1.216 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.858, allocations: 7.984 kB / 1.216 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.8581, allocations: 20.06 kB / 1.216 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.8581, allocations: 0 / 1.216 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.8583, allocations: 27.92 kB / 1.216 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.8583, allocations: 12 kB / 1.216 GB, free: 4.805 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001391/0.8585, allocations: 139.5 kB / 1.216 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.8585, allocations: 19.72 kB / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.8586, allocations: 29.8 kB / 1.216 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8586, allocations: 0 / 1.216 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8586, allocations: 4 kB / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8586, allocations: 0 / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.8593, allocations: 496.5 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8593, allocations: 0 / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.8594, allocations: 7.984 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8594, allocations: 48 / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.8594, allocations: 15.92 kB / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8594, allocations: 0 / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8594, allocations: 4 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.8596, allocations: 227.3 kB / 1.217 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.8597, allocations: 92.86 kB / 1.217 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.8597, allocations: 3.938 kB / 1.217 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.8599, allocations: 15.98 kB / 1.217 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.86, allocations: 19.97 kB / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.86, allocations: 11.98 kB / 1.217 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001188/0.8601, allocations: 144.2 kB / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8601, allocations: 0 / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000325/0.8605, allocations: 43.98 kB / 1.217 GB, free: 3.457 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0007443/0.8612, allocations: 0.8418 MB / 1.218 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.8615, allocations: 103.9 kB / 1.218 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8615, allocations: 0 / 1.218 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.8616, allocations: 58.53 kB / 1.218 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.862, allocations: 55.88 kB / 1.218 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.8642, allocations: 1.886 MB / 1.22 GB, free: 428 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.8645, allocations: 0.7281 MB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.588e-05/0.8646, allocations: 25.53 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.8647, allocations: 55.41 kB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.8647, allocations: 0 / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.8889, allocations: 5.704 MB / 1.226 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.639, allocations: 7.922 kB / 1.226 GB, free: 10.06 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.activate,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y