Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.00126/0.00126, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001231/0.001231, allocations: 195.8 kB / 16.26 MB, free: 6.625 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.247/1.247, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.12/2.12, allocations: 390.3 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.552, allocations: 140.4 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002966/0.555, allocations: 1.883 MB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.5565, allocations: 0.9371 MB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.5567, allocations: 5.188 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.5569, allocations: 19.55 kB / 0.952 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.5573, allocations: 98.11 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.5577, allocations: 146.1 kB / 0.9522 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.558, allocations: 234.8 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.5582, allocations: 45.53 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.5584, allocations: 113 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02098/0.5794, allocations: 1.688 MB / 0.9543 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.5795, allocations: 17.75 kB / 0.9543 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.5796, allocations: 41.25 kB / 0.9543 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.5796, allocations: 39.5 kB / 0.9543 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.5798, allocations: 94.3 kB / 0.9544 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.58, allocations: 210 kB / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.58, allocations: 0 / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5801, allocations: 3.938 kB / 0.9546 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.5801, allocations: 0 / 0.9546 GB, free: 5.59 MB / 0.7169 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.0006747/0.5807, allocations: 0.555 MB / 0.9552 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5808, allocations: 13.28 kB / 0.9552 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.5808, allocations: 36.94 kB / 0.9552 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.5809, allocations: 19.53 kB / 0.9553 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.5811, allocations: 247.6 kB / 0.9555 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5811, allocations: 10.62 kB / 0.9555 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.5812, allocations: 17.28 kB / 0.9555 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.5814, allocations: 97.36 kB / 0.9556 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5814, allocations: 0 / 0.9556 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5814, allocations: 1.281 kB / 0.9556 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5814, allocations: 1.25 kB / 0.9556 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.5815, allocations: 55.69 kB / 0.9557 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.5821, allocations: 463 kB / 0.9561 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.5825, allocations: 140.6 kB / 0.9562 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.5825, allocations: 38.12 kB / 0.9563 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.5826, allocations: 1.969 kB / 0.9563 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.5827, allocations: 115.4 kB / 0.9564 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.5827, allocations: 0 / 0.9564 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0002948/0.583, allocations: 163.5 kB / 0.9565 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.5831, allocations: 62.06 kB / 0.9566 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5832, allocations: 199.7 kB / 0.9568 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.5832, allocations: 33.27 kB / 0.9568 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.5833, allocations: 125.4 kB / 0.9569 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.5833, allocations: 33.61 kB / 0.957 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.5834, allocations: 55.98 kB / 0.957 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.5835, allocations: 327 kB / 0.9573 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.5835, allocations: 42.67 kB / 0.9574 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.5837, allocations: 129.4 kB / 0.9575 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.5838, allocations: 102.1 kB / 0.9576 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5838, allocations: 0 / 0.9576 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002024/0.584, allocations: 156.8 kB / 0.9578 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5841, allocations: 5.5 kB / 0.9578 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5841, allocations: 1.375 kB / 0.9578 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5841, allocations: 2.75 kB / 0.9578 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.5841, allocations: 18.8 kB / 0.9578 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5842, allocations: 6.625 kB / 0.9578 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.5844, allocations: 27.7 kB / 0.9578 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.5844, allocations: 9.844 kB / 0.9578 GB, free: 2.816 MB / 0.7169 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 8.959e-05/0.5845, allocations: 132.1 kB / 0.9579 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.5845, allocations: 23.08 kB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.5846, allocations: 18.81 kB / 0.958 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5846, allocations: 1.156 kB / 0.958 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5846, allocations: 1.156 kB / 0.958 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5846, allocations: 7.922 kB / 0.958 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.5851, allocations: 0.4936 MB / 0.9585 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5851, allocations: 0 / 0.9585 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.5851, allocations: 7.281 kB / 0.9585 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5851, allocations: 1.188 kB / 0.9585 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5852, allocations: 12.92 kB / 0.9585 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5852, allocations: 1.125 kB / 0.9585 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5852, allocations: 4 kB / 0.9585 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.5854, allocations: 219.7 kB / 0.9587 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.5854, allocations: 97.22 kB / 0.9588 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.5854, allocations: 9.031 kB / 0.9588 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.5855, allocations: 10.61 kB / 0.9588 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.5856, allocations: 20.91 kB / 0.9588 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.5856, allocations: 13.94 kB / 0.9589 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.857e-05/0.5857, allocations: 141.8 kB / 0.959 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5857, allocations: 0 / 0.959 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004479/0.5862, allocations: 48.03 kB / 0.959 GB, free: 1.773 MB / 0.7169 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.0005023/0.5867, allocations: 0.826 MB / 0.9598 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.5869, allocations: 126.8 kB / 0.96 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5869, allocations: 4.062 kB / 0.96 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.587, allocations: 56.66 kB / 0.96 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.5874, allocations: 46.67 kB / 0.9601 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.5892, allocations: 1.946 MB / 0.962 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.5895, allocations: 0.7252 MB / 0.9627 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.023e-05/0.5896, allocations: 18.3 kB / 0.9627 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.5897, allocations: 60.22 kB / 0.9628 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5897, allocations: 0 / 0.9628 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.6058, allocations: 5.338 MB / 0.968 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.6061, allocations: 263.6 kB / 0.9682 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.29, allocations: 3.938 kB / 0.9682 GB, free: 11.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches