Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_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.00597/0.005971, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001476/0.001476, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.72/2.72, allocations: 437.1 MB / 0.7106 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002576, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3504, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003635/0.3541, allocations: 1.743 MB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.356, allocations: 0.8968 MB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.3561, allocations: 4 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.3564, allocations: 27.72 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.3569, allocations: 123.4 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.3573, allocations: 151.7 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.3577, allocations: 243.3 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3579, allocations: 29.67 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3581, allocations: 111.7 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01584/0.3739, allocations: 2.043 MB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.374, allocations: 16 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3742, allocations: 43.98 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.3743, allocations: 39.84 kB / 1.172 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3744, allocations: 99.53 kB / 1.172 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.3749, allocations: 215.1 kB / 1.172 GB, free: 2.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3749, allocations: 0 / 1.172 GB, free: 2.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3749, allocations: 0 / 1.172 GB, free: 2.012 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3749, allocations: 0 / 1.172 GB, free: 2.012 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009154/0.3758, allocations: 0.5642 MB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3759, allocations: 8.031 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.3759, allocations: 42.73 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.376, allocations: 16.84 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3763, allocations: 243.4 kB / 1.173 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3763, allocations: 15.98 kB / 1.173 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.3764, allocations: 16 kB / 1.173 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3766, allocations: 83.89 kB / 1.173 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3766, allocations: 0 / 1.173 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3766, allocations: 12 kB / 1.173 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3766, allocations: 0 / 1.173 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3768, allocations: 55.91 kB / 1.173 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.3775, allocations: 460.4 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.378, allocations: 138.7 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.3781, allocations: 36.84 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3781, allocations: 4 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.3784, allocations: 115.4 kB / 1.174 GB, free: 40 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 3.897e-06/0.3784, allocations: 0 / 1.174 GB, free: 40 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003744/0.3788, allocations: 165.4 kB / 1.174 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3789, allocations: 59.39 kB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3791, allocations: 198.5 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.3791, allocations: 37.69 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.3792, allocations: 124.4 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.3793, allocations: 31.75 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.3794, allocations: 61.67 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3795, allocations: 326.8 kB / 1.175 GB, free: 15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.3796, allocations: 35.97 kB / 1.175 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.3799, allocations: 134.6 kB / 1.175 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.38, allocations: 96.22 kB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3801, allocations: 4 kB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002444/0.3803, allocations: 152 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3803, allocations: 8 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3803, allocations: 8.062 kB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3804, allocations: 4 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.3804, allocations: 15.98 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3805, allocations: 0 / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.3807, allocations: 27.88 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3807, allocations: 4 kB / 1.175 GB, free: 14.48 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.0001398/0.3808, allocations: 147.5 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3809, allocations: 15.91 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.3809, allocations: 25.86 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3809, allocations: 0 / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.381, allocations: 48 / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.381, allocations: 3.984 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.3817, allocations: 0.4904 MB / 1.176 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3817, allocations: 0 / 1.176 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.3817, allocations: 11.92 kB / 1.176 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3817, allocations: 4 kB / 1.176 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3817, allocations: 11.88 kB / 1.176 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3817, allocations: 0 / 1.176 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3817, allocations: 0 / 1.176 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.382, allocations: 238.5 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.3821, allocations: 89.02 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3821, allocations: 3.938 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3822, allocations: 19.98 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.3823, allocations: 19.97 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3823, allocations: 11.98 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001297/0.3825, allocations: 135.2 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3825, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003012/0.3828, allocations: 51.88 kB / 1.176 GB, free: 13.11 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.0008488/0.3837, allocations: 0.8337 MB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3839, allocations: 107.4 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3839, allocations: 0 / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.384, allocations: 47.98 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3845, allocations: 58.44 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.3868, allocations: 1.889 MB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.3873, allocations: 0.7281 MB / 1.18 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.3874, allocations: 21.55 kB / 1.18 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3875, allocations: 59.41 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of SimCode: time 2.575e-06/0.3875, allocations: 0 / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.778/2.165, allocations: 5.609 MB / 1.185 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/17.91, allocations: 18.56 kB / 1.185 GB, free: 3.805 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches