Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.56 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2573, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003133/0.2604, allocations: 1.752 MB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2619, allocations: 0.9008 MB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.262, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.2622, allocations: 19.73 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.2625, allocations: 123.4 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.2629, allocations: 155.3 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.2632, allocations: 247.3 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2633, allocations: 33.66 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2635, allocations: 111.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.2752, allocations: 2.008 MB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.2753, allocations: 16 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.2754, allocations: 36 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.2754, allocations: 43.83 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2756, allocations: 99.55 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.2759, allocations: 211.3 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2759, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2759, allocations: 3.938 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2759, allocations: 4 kB / 1.069 GB, free: 9.352 MB / 0.8262 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.0007736/0.2767, allocations: 0.5488 MB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2767, allocations: 12.03 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.2768, allocations: 38.75 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.2769, allocations: 28.64 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.2771, allocations: 240.6 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2771, allocations: 8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.2772, allocations: 16 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2774, allocations: 89.58 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.2774, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2774, allocations: 8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2774, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.2775, allocations: 60.95 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.2782, allocations: 460.3 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2787, allocations: 138.7 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.2787, allocations: 40.78 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.2788, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.279, allocations: 119.2 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.279, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003134/0.2793, allocations: 163.7 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2794, allocations: 55.39 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2795, allocations: 196.3 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.2796, allocations: 33.7 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.2797, allocations: 124.5 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.2797, allocations: 35.55 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.2798, allocations: 65.61 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.2799, allocations: 326.8 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.28, allocations: 35.98 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2802, allocations: 128.7 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.2804, allocations: 102.9 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2804, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000237/0.2806, allocations: 153.3 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2806, allocations: 8.125 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2806, allocations: 4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2807, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.2807, allocations: 19.92 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2807, allocations: 4 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.281, allocations: 27.83 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.281, allocations: 8 kB / 1.072 GB, free: 5.824 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.0001165/0.2811, allocations: 136 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.2811, allocations: 23.75 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.2812, allocations: 25.91 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2812, allocations: 4 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2812, allocations: 0 / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2812, allocations: 7.922 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006177/0.2818, allocations: 498 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2819, allocations: 4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.2819, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2819, allocations: 4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2819, allocations: 11.92 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2819, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2819, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.2822, allocations: 230.1 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.2822, allocations: 88.92 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.2822, allocations: 11.94 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2824, allocations: 15.92 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.2824, allocations: 23.97 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2825, allocations: 4 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001124/0.2826, allocations: 144.2 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2826, allocations: 4 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000298/0.2829, allocations: 43.92 kB / 1.074 GB, free: 4.477 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.0006405/0.2835, allocations: 0.8443 MB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.2838, allocations: 103.8 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2838, allocations: 4 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.2839, allocations: 51.92 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.2843, allocations: 73.17 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.2861, allocations: 1.866 MB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2864, allocations: 0.7281 MB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.85e-05/0.2865, allocations: 21.53 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.2865, allocations: 55.36 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2866, allocations: 0 / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.3195, allocations: 5.547 MB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.851, allocations: 4.5 kB / 1.083 GB, free: 11.22 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches