Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_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.00627/0.00627, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001204/0.001204, allocations: 192 kB / 16.67 MB, free: 5.48 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.91 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8302, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003039/0.8333, allocations: 1.732 MB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.8348, allocations: 0.9085 MB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.8349, allocations: 0 / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.8351, allocations: 35.61 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.8355, allocations: 123.4 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.8359, allocations: 149.2 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.8362, allocations: 247.4 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.8363, allocations: 33.67 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.8365, allocations: 111.7 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01511/0.8516, allocations: 1.995 MB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-05/0.8517, allocations: 20 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.8518, allocations: 39.98 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.8519, allocations: 39.83 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.8521, allocations: 95.52 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.8525, allocations: 220.1 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8525, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8525, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.8525, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 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.0008784/0.8534, allocations: 0.5643 MB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8534, allocations: 8.922 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.8535, allocations: 38.75 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.8535, allocations: 20.78 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.8539, allocations: 248 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.8539, allocations: 15.94 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.8539, allocations: 15.94 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.8541, allocations: 117.5 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8542, allocations: 4 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.8542, allocations: 7.984 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8542, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.8543, allocations: 51.97 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.8551, allocations: 0.5435 MB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.8553, allocations: 97.25 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.8554, allocations: 41.77 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.8554, allocations: 7.938 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.8557, allocations: 121 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.8557, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003366/0.856, allocations: 157.5 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.8561, allocations: 93.03 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.8563, allocations: 200.2 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.8563, allocations: 33.7 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8564, allocations: 128.5 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.8565, allocations: 31.73 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.8566, allocations: 61.67 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8567, allocations: 326.8 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.8568, allocations: 31.98 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.8571, allocations: 139 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.8572, allocations: 117.9 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8572, allocations: 0 / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002516/0.8575, allocations: 157.4 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8575, allocations: 8 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8575, allocations: 0 / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.8576, allocations: 4 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.8577, allocations: 20.03 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8577, allocations: 7.984 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.8579, allocations: 31.88 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.8579, allocations: 4 kB / 1.175 GB, free: 10.82 MB / 0.9044 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 0.0001367/0.8581, allocations: 141.7 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.8581, allocations: 19.91 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.8581, allocations: 21.52 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8582, allocations: 4 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8582, allocations: 4 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8582, allocations: 0 / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.8588, allocations: 472.5 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8588, allocations: 0 / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.8588, allocations: 7.938 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8588, allocations: 0 / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.8588, allocations: 15.92 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8589, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8589, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.8591, allocations: 236.1 kB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.8592, allocations: 93 kB / 1.176 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.8592, allocations: 7.938 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.8593, allocations: 15.98 kB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.8594, allocations: 19.97 kB / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.8594, allocations: 8 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001274/0.8596, allocations: 143.2 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8596, allocations: 0 / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000303/0.8599, allocations: 47.89 kB / 1.176 GB, free: 9.488 MB / 0.9044 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.0007893/0.8607, allocations: 0.8296 MB / 1.177 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.8609, allocations: 103.8 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.8609, allocations: 0 / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.861, allocations: 66.34 kB / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.8615, allocations: 56.16 kB / 1.177 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.8636, allocations: 1.923 MB / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.8639, allocations: 0.7164 MB / 1.18 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.62e-05/0.864, allocations: 33.52 kB / 1.18 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.8641, allocations: 55.41 kB / 1.18 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8641, allocations: 0 / 1.18 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.601/2.465, allocations: 5.546 MB / 1.185 GB, free: 164 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/17.56, allocations: 19.64 kB / 1.185 GB, free: 144 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches