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.005013/0.005013, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001397/0.001397, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 71.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7157, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00271/0.7185, allocations: 1.735 MB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.7199, allocations: 0.9016 MB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.72, allocations: 4 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.7201, allocations: 27.72 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.7204, allocations: 115.4 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.7208, allocations: 153.8 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.7211, allocations: 243.4 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.7212, allocations: 37.67 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.7213, allocations: 107.7 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/0.7337, allocations: 1.702 MB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.7338, allocations: 20 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.7339, allocations: 39.98 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.734, allocations: 43.83 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.7341, allocations: 79.58 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.7345, allocations: 229.7 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.7345, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7345, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7345, allocations: 4 kB / 1.225 GB, free: 13.05 MB / 0.9512 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.0008081/0.7353, allocations: 0.5526 MB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.7354, allocations: 8.031 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.7354, allocations: 42.73 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.7355, allocations: 20.84 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.7358, allocations: 252.5 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.7358, allocations: 8 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.7358, allocations: 12 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.736, allocations: 95.7 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.736, allocations: 7.984 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.7361, allocations: 8 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7361, allocations: 0 / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.7362, allocations: 55.86 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.7369, allocations: 468.5 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.7374, allocations: 134.6 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.7374, allocations: 32.86 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.7374, allocations: 4 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.7377, allocations: 119.3 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.7377, allocations: 0 / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003144/0.738, allocations: 161.5 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7381, allocations: 59.34 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.7383, allocations: 196.3 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.7383, allocations: 33.7 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.7384, allocations: 128.5 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.7384, allocations: 39.67 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.7385, allocations: 61.62 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7387, allocations: 330.8 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.7387, allocations: 27.98 kB / 1.228 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.739, allocations: 139.5 kB / 1.228 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.7391, allocations: 102.5 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7391, allocations: 0 / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002394/0.7394, allocations: 149.6 kB / 1.229 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7394, allocations: 4 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.7394, allocations: 0 / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7394, allocations: 4 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.7395, allocations: 15.94 kB / 1.229 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.7395, allocations: 3.984 kB / 1.229 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.7397, allocations: 27.88 kB / 1.229 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.7397, allocations: 8 kB / 1.229 GB, free: 9.5 MB / 0.9512 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.0001277/0.7399, allocations: 143.5 kB / 1.229 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.7399, allocations: 15.91 kB / 1.229 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.7399, allocations: 25.8 kB / 1.229 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7399, allocations: 0 / 1.229 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.74, allocations: 0 / 1.229 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.74, allocations: 4 kB / 1.229 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.7406, allocations: 498.1 kB / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7406, allocations: 0 / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.7406, allocations: 8 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7406, allocations: 3.938 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.7407, allocations: 7.984 kB / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7407, allocations: 0 / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7407, allocations: 7.984 kB / 1.229 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.7409, allocations: 234.7 kB / 1.23 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.741, allocations: 89.02 kB / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.741, allocations: 7.922 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.7411, allocations: 19.98 kB / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.7412, allocations: 19.97 kB / 1.23 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.7412, allocations: 8 kB / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001223/0.7413, allocations: 144.2 kB / 1.23 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7413, allocations: 0 / 1.23 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002783/0.7416, allocations: 47.89 kB / 1.23 GB, free: 8.141 MB / 0.9512 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.01172/0.7534, allocations: 0.8333 MB / 1.231 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.7537, allocations: 107.8 kB / 1.231 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7537, allocations: 0 / 1.231 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.7538, allocations: 59 kB / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.7544, allocations: 52.81 kB / 1.231 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.7565, allocations: 1.918 MB / 1.233 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.7568, allocations: 0.7242 MB / 1.233 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.55e-05/0.7569, allocations: 29.47 kB / 1.233 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.757, allocations: 51.42 kB / 1.234 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.757, allocations: 0 / 1.234 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.409/3.166, allocations: 5.59 MB / 1.239 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/16.12, allocations: 11.38 kB / 1.239 GB, free: 14.82 MB / 0.9669 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