Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_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.00129/0.00129, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001631/0.001631, allocations: 195.8 kB / 16.25 MB, free: 6.629 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 64.2 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003569/0.3376, allocations: 1.897 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3392, allocations: 0.9397 MB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3394, allocations: 3.938 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.3396, allocations: 19.86 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.34, allocations: 95.66 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3404, allocations: 147.7 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.3407, allocations: 243.3 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3409, allocations: 25.69 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.341, allocations: 115.7 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02241/0.3634, allocations: 1.701 MB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3636, allocations: 20 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3637, allocations: 36 kB / 1.058 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.3638, allocations: 39.83 kB / 1.058 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.364, allocations: 91.5 kB / 1.058 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.3643, allocations: 215.3 kB / 1.058 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3643, allocations: 4 kB / 1.058 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3644, allocations: 0 / 1.058 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.3644, allocations: 0 / 1.058 GB, free: 3.488 MB / 0.8106 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.0008991/0.3653, allocations: 0.5411 MB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3653, allocations: 12.62 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.3654, allocations: 46.73 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.3655, allocations: 16.75 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3658, allocations: 259.6 kB / 1.059 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3658, allocations: 11.98 kB / 1.059 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.3659, allocations: 12 kB / 1.059 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3661, allocations: 89.66 kB / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3661, allocations: 0 / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3661, allocations: 0 / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3661, allocations: 4 kB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3663, allocations: 59.86 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.3671, allocations: 460.4 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.3675, allocations: 142.7 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.3676, allocations: 36.84 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3676, allocations: 4 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.3678, allocations: 115.2 kB / 1.06 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3678, allocations: 4 kB / 1.06 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003404/0.3682, allocations: 168.2 kB / 1.06 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3682, allocations: 55.41 kB / 1.06 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.3684, allocations: 192.3 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.3685, allocations: 37.69 kB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.3685, allocations: 116.5 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.3686, allocations: 35.56 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.3687, allocations: 57.66 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3688, allocations: 338.8 kB / 1.061 GB, free: 492 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.3689, allocations: 31.98 kB / 1.061 GB, free: 460 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.3692, allocations: 131.5 kB / 1.061 GB, free: 300 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3693, allocations: 98.72 kB / 1.061 GB, free: 188 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3693, allocations: 4 kB / 1.061 GB, free: 184 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002511/0.3696, allocations: 153.3 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3696, allocations: 11.94 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3696, allocations: 0 / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3696, allocations: 4 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.3697, allocations: 20.16 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3697, allocations: 0 / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.37, allocations: 27.78 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.37, allocations: 4 kB / 1.061 GB, free: 15.96 MB / 0.8262 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.0001395/0.3701, allocations: 149 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3702, allocations: 15.81 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.3702, allocations: 21.86 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3702, allocations: 4 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3702, allocations: 4 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3702, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.3709, allocations: 494 kB / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3709, allocations: 0 / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.3709, allocations: 15.92 kB / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3709, allocations: 0 / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.371, allocations: 11.94 kB / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.371, allocations: 0 / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.371, allocations: 0 / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3712, allocations: 229.5 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.3713, allocations: 92.92 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3713, allocations: 3.984 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3715, allocations: 15.97 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.3716, allocations: 27.97 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.3716, allocations: 11.98 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001159/0.3717, allocations: 136.2 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3717, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003242/0.3721, allocations: 55.92 kB / 1.062 GB, free: 14.6 MB / 0.8262 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.0007631/0.3728, allocations: 0.8223 MB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3731, allocations: 119.8 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3731, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.3732, allocations: 51.92 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3736, allocations: 68.02 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3758, allocations: 1.933 MB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.376, allocations: 0.7203 MB / 1.066 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.399e-05/0.3761, allocations: 29.52 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.3762, allocations: 57.03 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3762, allocations: 0 / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.304/3.68, allocations: 5.327 MB / 1.071 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/3.68, allocations: 275.6 kB / 1.071 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/6.148, allocations: 2.188 kB / 1.071 GB, free: 5.184 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches