Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_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.001646/0.001646, 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.001876/0.001877, allocations: 194.3 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 64.59 kB / 0.9086 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2552, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002737/0.258, allocations: 1.735 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2592, allocations: 0.9007 MB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.2593, allocations: 3.938 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2595, allocations: 27.72 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.2598, allocations: 111.5 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.2601, allocations: 157.3 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.2603, allocations: 243.4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2604, allocations: 29.67 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.2606, allocations: 115.6 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/0.2725, allocations: 1.685 MB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.2725, allocations: 16 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.2726, allocations: 39.98 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.2727, allocations: 35.89 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.2728, allocations: 91.52 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.273, allocations: 211.3 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2731, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2731, allocations: 3.938 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2731, allocations: 4 kB / 1.069 GB, free: 9.273 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.0007527/0.2738, allocations: 0.545 MB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2739, allocations: 8.031 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.2739, allocations: 50.73 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.274, allocations: 24.66 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.2743, allocations: 251.3 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2743, allocations: 4 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.2743, allocations: 16 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.2745, allocations: 91.38 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2745, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2745, allocations: 11.98 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2745, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2746, allocations: 55.86 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.2753, allocations: 464.4 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.2758, allocations: 130.7 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.2758, allocations: 48.78 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2759, allocations: 0 / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.276, allocations: 111.2 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.2761, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003093/0.2764, allocations: 172 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2764, allocations: 51.41 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2766, allocations: 200.3 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2766, allocations: 37.64 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.2767, allocations: 124.5 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.2768, allocations: 35.53 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.2769, allocations: 57.69 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.277, allocations: 326.8 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.2771, allocations: 35.98 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.2773, allocations: 131.5 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2774, allocations: 97.95 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2775, allocations: 4 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000229/0.2777, allocations: 153.3 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2777, allocations: 6.031 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2777, allocations: 4 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2777, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.2778, allocations: 15.94 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2778, allocations: 4 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.278, allocations: 31.81 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.278, allocations: 8.125 kB / 1.073 GB, free: 5.738 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.0001224/0.2782, allocations: 139.5 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.2782, allocations: 15.81 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.2782, allocations: 21.86 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2782, allocations: 4.047 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2783, allocations: 3.984 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2783, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.2789, allocations: 0.498 MB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2789, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.2789, allocations: 4 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2789, allocations: 4 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.2789, allocations: 7.875 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.279, allocations: 3.984 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.279, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.2792, allocations: 233 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.2792, allocations: 92.92 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2793, allocations: 11.92 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2794, allocations: 11.98 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.2795, allocations: 23.97 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2795, allocations: 4 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001177/0.2796, allocations: 140.2 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2796, allocations: 8 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002718/0.2799, allocations: 43.94 kB / 1.074 GB, free: 4.383 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.0007146/0.2806, allocations: 0.8392 MB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.2809, allocations: 107.8 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2809, allocations: 256 / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.281, allocations: 66.02 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2813, allocations: 58.94 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2833, allocations: 1.894 MB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2836, allocations: 0.7242 MB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.897e-05/0.2837, allocations: 25.53 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.2837, allocations: 55.41 kB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2837, allocations: 0 / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0902/0.3739, allocations: 5.525 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.42, allocations: 11.41 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches