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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001316/0.001316, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001334/0.001334, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.6643 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6151, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003177/0.6183, allocations: 1.876 MB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.62, allocations: 0.9487 MB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.6202, allocations: 5.312 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.6204, allocations: 19.98 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.6208, allocations: 87.16 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.6212, allocations: 157.8 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.6215, allocations: 220.4 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.6216, allocations: 41.86 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.6218, allocations: 106.3 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02157/0.6433, allocations: 1.561 MB / 0.9539 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.6434, allocations: 9.625 kB / 0.9539 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.6435, allocations: 27.89 kB / 0.954 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.6436, allocations: 28.5 kB / 0.954 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.6437, allocations: 90.89 kB / 0.9541 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.644, allocations: 205.9 kB / 0.9543 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.644, allocations: 1.094 kB / 0.9543 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.644, allocations: 0 / 0.9543 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.644, allocations: 4 kB / 0.9543 GB, free: 5.691 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.0007193/0.6447, allocations: 0.5536 MB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6448, allocations: 10.38 kB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.6448, allocations: 37.41 kB / 0.9549 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.6449, allocations: 18.97 kB / 0.9549 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.6451, allocations: 251.3 kB / 0.9551 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6451, allocations: 14.06 kB / 0.9551 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.6452, allocations: 14.72 kB / 0.9552 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.6453, allocations: 88.33 kB / 0.9552 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6453, allocations: 0 / 0.9552 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.6454, allocations: 4.969 kB / 0.9552 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.6454, allocations: 2.031 kB / 0.9552 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.6455, allocations: 56.16 kB / 0.9553 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.6462, allocations: 460.7 kB / 0.9557 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.6466, allocations: 138.3 kB / 0.9559 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.6466, allocations: 35.81 kB / 0.9559 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.6467, allocations: 3.938 kB / 0.9559 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.6468, allocations: 121.7 kB / 0.956 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.6468, allocations: 3.984 kB / 0.956 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003038/0.6471, allocations: 167.3 kB / 0.9562 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.6472, allocations: 54.41 kB / 0.9562 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.6473, allocations: 203.6 kB / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.6474, allocations: 37.3 kB / 0.9565 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.6474, allocations: 121.4 kB / 0.9566 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.6475, allocations: 28.95 kB / 0.9566 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.6475, allocations: 65.94 kB / 0.9567 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.6476, allocations: 326.3 kB / 0.957 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.6476, allocations: 34.02 kB / 0.957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.6478, allocations: 134.4 kB / 0.9571 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.648, allocations: 102.1 kB / 0.9572 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.648, allocations: 0 / 0.9572 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002029/0.6482, allocations: 148.8 kB / 0.9574 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6482, allocations: 5.5 kB / 0.9574 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6482, allocations: 1.312 kB / 0.9574 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6482, allocations: 6.625 kB / 0.9574 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.6483, allocations: 15.86 kB / 0.9574 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6483, allocations: 10.64 kB / 0.9574 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.6485, allocations: 27.33 kB / 0.9574 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.6485, allocations: 8.531 kB / 0.9575 GB, free: 2.918 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 9.095e-05/0.6486, allocations: 136.7 kB / 0.9576 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.6487, allocations: 19.77 kB / 0.9576 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.6487, allocations: 21.56 kB / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6487, allocations: 2.219 kB / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6487, allocations: 0 / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.6487, allocations: 4.938 kB / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.6493, allocations: 499.9 kB / 0.9581 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6493, allocations: 4 kB / 0.9581 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.6493, allocations: 8.375 kB / 0.9581 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6493, allocations: 3.938 kB / 0.9581 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.6493, allocations: 10.19 kB / 0.9581 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6494, allocations: 7.984 kB / 0.9581 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6494, allocations: 1.031 kB / 0.9581 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.6495, allocations: 219.3 kB / 0.9584 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.6496, allocations: 96.59 kB / 0.9584 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.6496, allocations: 5.031 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.6498, allocations: 15.17 kB / 0.9585 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.6498, allocations: 21.59 kB / 0.9585 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.6499, allocations: 9.125 kB / 0.9585 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001005/0.65, allocations: 142.2 kB / 0.9586 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.65, allocations: 0 / 0.9586 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003028/0.6503, allocations: 47.2 kB / 0.9587 GB, free: 1.879 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.0005378/0.6508, allocations: 0.8256 MB / 0.9595 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.651, allocations: 117.8 kB / 0.9596 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.651, allocations: 1.375 kB / 0.9596 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.248e-05/0.6511, allocations: 51.95 kB / 0.9596 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.6515, allocations: 48.58 kB / 0.9597 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.6533, allocations: 1.942 MB / 0.9616 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.6536, allocations: 0.7295 MB / 0.9623 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.6537, allocations: 22.2 kB / 0.9623 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.6538, allocations: 56.22 kB / 0.9624 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/0.6538, allocations: 0 / 0.9624 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.6696, allocations: 5.193 MB / 0.9674 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.6699, allocations: 268.1 kB / 0.9677 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.716, allocations: 0 / 0.9677 GB, free: 11.74 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