Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.001592/0.001593, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001367/0.001367, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.251/2.251, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.5728, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002703/0.5756, allocations: 1.888 MB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.5769, allocations: 0.9518 MB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.5771, allocations: 1.25 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.5773, allocations: 19.86 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.5775, allocations: 92.47 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.5779, allocations: 136.9 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.578, allocations: 229.2 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.5782, allocations: 46.64 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.5783, allocations: 99.61 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02081/0.5991, allocations: 1.529 MB / 0.9539 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.5992, allocations: 10.16 kB / 0.9539 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.5993, allocations: 24.16 kB / 0.9539 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.5994, allocations: 35.58 kB / 0.954 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.5995, allocations: 82.84 kB / 0.954 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.5997, allocations: 215.4 kB / 0.9543 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5998, allocations: 0 / 0.9543 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5998, allocations: 0 / 0.9543 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.5998, allocations: 0 / 0.9543 GB, free: 5.707 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006879/0.6005, allocations: 0.5515 MB / 0.9548 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6005, allocations: 9.281 kB / 0.9548 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.6005, allocations: 41.89 kB / 0.9548 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.6006, allocations: 19.31 kB / 0.9549 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.6008, allocations: 255 kB / 0.9551 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6009, allocations: 13.94 kB / 0.9551 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.6009, allocations: 15.44 kB / 0.9551 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.6011, allocations: 114.8 kB / 0.9552 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.6011, allocations: 0 / 0.9552 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.6011, allocations: 1.062 kB / 0.9552 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6011, allocations: 6.328 kB / 0.9552 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.6012, allocations: 57.78 kB / 0.9553 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.602, allocations: 0.5472 MB / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.6021, allocations: 95.47 kB / 0.9559 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.6022, allocations: 41.89 kB / 0.956 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.6022, allocations: 5.594 kB / 0.956 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.6024, allocations: 121.1 kB / 0.9561 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.6024, allocations: 0.9062 kB / 0.9561 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003143/0.6027, allocations: 159.7 kB / 0.9562 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.6027, allocations: 85.02 kB / 0.9563 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.6029, allocations: 206.4 kB / 0.9565 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6029, allocations: 33.42 kB / 0.9565 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.603, allocations: 118.5 kB / 0.9567 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.603, allocations: 41.25 kB / 0.9567 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.6031, allocations: 52.94 kB / 0.9568 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.6032, allocations: 335.4 kB / 0.9571 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.6032, allocations: 34.3 kB / 0.9571 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.6034, allocations: 143.3 kB / 0.9572 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.6036, allocations: 117.5 kB / 0.9574 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6036, allocations: 0 / 0.9574 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000239/0.6038, allocations: 156.4 kB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6038, allocations: 13.47 kB / 0.9575 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6039, allocations: 1.531 kB / 0.9575 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6039, allocations: 6.75 kB / 0.9575 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.604, allocations: 20.36 kB / 0.9575 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.604, allocations: 6.688 kB / 0.9575 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.6042, allocations: 20.3 kB / 0.9576 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6042, allocations: 9.5 kB / 0.9576 GB, free: 2.719 MB / 0.7169 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 9.397e-05/0.6043, allocations: 137.3 kB / 0.9577 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.6043, allocations: 23.97 kB / 0.9577 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.6044, allocations: 25.64 kB / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6044, allocations: 1.375 kB / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6044, allocations: 1.375 kB / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6044, allocations: 0 / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.6049, allocations: 465.3 kB / 0.9582 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6049, allocations: 0.875 kB / 0.9582 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.6049, allocations: 7.438 kB / 0.9582 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6049, allocations: 5.188 kB / 0.9582 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6049, allocations: 6 kB / 0.9582 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6049, allocations: 5.438 kB / 0.9582 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6049, allocations: 3.984 kB / 0.9582 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.6051, allocations: 227.7 kB / 0.9584 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.6052, allocations: 90.11 kB / 0.9585 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.6052, allocations: 9.531 kB / 0.9585 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6053, allocations: 19.34 kB / 0.9586 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.6054, allocations: 20.61 kB / 0.9586 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.6054, allocations: 9.016 kB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.738e-05/0.6055, allocations: 142.8 kB / 0.9587 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6055, allocations: 1 kB / 0.9587 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003076/0.6059, allocations: 42.53 kB / 0.9588 GB, free: 1.688 MB / 0.7169 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.0005369/0.6064, allocations: 0.8387 MB / 0.9596 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.6066, allocations: 96.25 kB / 0.9597 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6066, allocations: 1.094 kB / 0.9597 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.6067, allocations: 50.02 kB / 0.9597 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.6071, allocations: 62.98 kB / 0.9598 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.609, allocations: 1.944 MB / 0.9617 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.6093, allocations: 0.7332 MB / 0.9624 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.6094, allocations: 27.28 kB / 0.9624 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.6094, allocations: 54.06 kB / 0.9625 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of SimCode: time 1.733e-06/0.6095, allocations: 0.9688 kB / 0.9625 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.6246, allocations: 5.147 MB / 0.9675 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.6249, allocations: 264.3 kB / 0.9678 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.592, allocations: 0 / 0.9678 GB, free: 11.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches