Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001118/0.001118, 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.001185/0.001185, allocations: 195 kB / 16.14 MB, free: 6.656 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.225/2.225, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5658, allocations: 140.4 MB / 0.949 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.004554/0.5704, allocations: 1.881 MB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.5722, allocations: 0.9567 MB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.5723, allocations: 1.312 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.5726, allocations: 23.92 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.5729, allocations: 90.53 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.5732, allocations: 145.4 kB / 0.9521 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.5735, allocations: 229.3 kB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.5736, allocations: 41.88 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.5737, allocations: 104.3 kB / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02518/0.5989, allocations: 1.818 MB / 0.9542 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.03e-05/0.599, allocations: 21.8 kB / 0.9542 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.5992, allocations: 24.38 kB / 0.9542 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.5992, allocations: 32.41 kB / 0.9543 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.5994, allocations: 90.52 kB / 0.9544 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.5996, allocations: 212.9 kB / 0.9546 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5997, allocations: 0 / 0.9546 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5997, allocations: 0 / 0.9546 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.5997, allocations: 0 / 0.9546 GB, free: 5.617 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.0007396/0.6004, allocations: 0.5538 MB / 0.9551 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6005, allocations: 8.719 kB / 0.9551 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.6005, allocations: 46.03 kB / 0.9551 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.6006, allocations: 20.03 kB / 0.9552 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.6008, allocations: 242.9 kB / 0.9554 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.6009, allocations: 14.86 kB / 0.9554 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.6009, allocations: 18.31 kB / 0.9554 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.6011, allocations: 108.8 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.6011, allocations: 0 / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.6011, allocations: 5.469 kB / 0.9555 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6011, allocations: 1.312 kB / 0.9555 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.6013, allocations: 58.34 kB / 0.9556 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/0.602, allocations: 0.5349 MB / 0.9561 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.6022, allocations: 103.3 kB / 0.9562 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.6023, allocations: 41.58 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.6023, allocations: 9.219 kB / 0.9563 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.6024, allocations: 120 kB / 0.9564 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.6025, allocations: 4 kB / 0.9564 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003295/0.6028, allocations: 159.1 kB / 0.9565 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.6028, allocations: 79.98 kB / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.603, allocations: 207.8 kB / 0.9568 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.603, allocations: 32.7 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.6031, allocations: 122.9 kB / 0.957 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.6031, allocations: 33.48 kB / 0.957 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.6032, allocations: 56.59 kB / 0.957 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.6033, allocations: 334.6 kB / 0.9574 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.6033, allocations: 33.89 kB / 0.9574 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.6035, allocations: 143.5 kB / 0.9575 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.6037, allocations: 112.6 kB / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6037, allocations: 0 / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002346/0.6039, allocations: 162.2 kB / 0.9578 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6039, allocations: 5.5 kB / 0.9578 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.604, allocations: 5.312 kB / 0.9578 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.604, allocations: 6.688 kB / 0.9578 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.6041, allocations: 16.36 kB / 0.9578 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6041, allocations: 2.75 kB / 0.9578 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.6043, allocations: 24.3 kB / 0.9579 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.6043, allocations: 6.875 kB / 0.9579 GB, free: 2.648 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.753e-05/0.6044, allocations: 151.9 kB / 0.958 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.6045, allocations: 24.05 kB / 0.958 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.6045, allocations: 17.66 kB / 0.958 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6045, allocations: 2.75 kB / 0.958 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.6045, allocations: 1.375 kB / 0.958 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6045, allocations: 3.984 kB / 0.9581 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.605, allocations: 464.7 kB / 0.9585 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.605, allocations: 5.094 kB / 0.9585 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.605, allocations: 14.86 kB / 0.9585 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.6051, allocations: 1.062 kB / 0.9585 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6051, allocations: 6.156 kB / 0.9585 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6051, allocations: 1.062 kB / 0.9585 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6051, allocations: 1.125 kB / 0.9585 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.6053, allocations: 235.1 kB / 0.9587 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.6053, allocations: 90.17 kB / 0.9588 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.6054, allocations: 5.25 kB / 0.9588 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6055, allocations: 14.42 kB / 0.9589 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.6056, allocations: 20.69 kB / 0.9589 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.6056, allocations: 9.828 kB / 0.9589 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001043/0.6057, allocations: 146.8 kB / 0.959 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6057, allocations: 0 / 0.959 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003199/0.606, allocations: 43.78 kB / 0.9591 GB, free: 1.605 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.0005491/0.6066, allocations: 0.8394 MB / 0.9599 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.6068, allocations: 98 kB / 0.96 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6068, allocations: 0 / 0.96 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.053e-05/0.6069, allocations: 58.83 kB / 0.96 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.6073, allocations: 53.61 kB / 0.9601 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.6092, allocations: 1.942 MB / 0.962 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.6094, allocations: 0.7244 MB / 0.9627 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.557e-05/0.6095, allocations: 27.17 kB / 0.9627 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.13e-05/0.6096, allocations: 51.61 kB / 0.9628 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6096, allocations: 0 / 0.9628 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.6271, allocations: 5.142 MB / 0.9678 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.6274, allocations: 279.5 kB / 0.968 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.51, allocations: 4.875 kB / 0.9681 GB, free: 11.42 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches