Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.153, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.3404/1.493, allocations: 263.1 MB / 1.561 GB, free: 268 kB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02694/1.52, allocations: 19.22 MB / 1.58 GB, free: 12.98 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/1.523, allocations: 47.75 kB / 1.58 GB, free: 12.93 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00263/1.525, allocations: 0.7646 MB / 1.58 GB, free: 12.16 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.006298/1.532, allocations: 1.87 MB / 1.582 GB, free: 10.28 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004869/1.536, allocations: 1.478 MB / 1.584 GB, free: 8.805 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007629/1.544, allocations: 3.048 MB / 1.587 GB, free: 5.75 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/1.546, allocations: 1.023 MB / 1.588 GB, free: 4.707 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/1.558, allocations: 3.421 MB / 1.591 GB, free: 1.277 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/1.56, allocations: 1.008 MB / 1.592 GB, free: 272 kB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/1.56, allocations: 103.9 kB / 1.592 GB, free: 168 kB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/1.563, allocations: 1.575 MB / 1.594 GB, free: 14.59 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005055/1.564, allocations: 430.5 kB / 1.594 GB, free: 14.16 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0009709/1.565, allocations: 0.7036 MB / 1.595 GB, free: 13.46 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/1.569, allocations: 2.063 MB / 1.597 GB, free: 11.39 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.569, allocations: 0 / 1.597 GB, free: 11.39 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.793e-06/1.569, allocations: 0 / 1.597 GB, free: 11.39 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.87e-05/1.569, allocations: 0 / 1.597 GB, free: 11.39 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.0027/1.571, allocations: 1.629 MB / 1.598 GB, free: 9.699 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.571, allocations: 16.02 kB / 1.598 GB, free: 9.684 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/1.572, allocations: 143.7 kB / 1.598 GB, free: 9.535 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/1.573, allocations: 290.8 kB / 1.599 GB, free: 9.25 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/1.575, allocations: 0.8789 MB / 1.6 GB, free: 8.328 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/1.575, allocations: 73.94 kB / 1.6 GB, free: 8.258 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/1.575, allocations: 95.94 kB / 1.6 GB, free: 8.164 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/1.577, allocations: 1.011 MB / 1.601 GB, free: 7.086 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.577, allocations: 0 / 1.601 GB, free: 7.086 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/1.577, allocations: 36 kB / 1.601 GB, free: 7.051 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.577, allocations: 24 kB / 1.601 GB, free: 7.027 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.578, allocations: 0.644 MB / 1.601 GB, free: 6.383 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/1.583, allocations: 4.713 MB / 1.606 GB, free: 1.336 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/1.584, allocations: 230.8 kB / 1.606 GB, free: 1.102 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/1.584, allocations: 128.8 kB / 1.606 GB, free: 0.9727 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/1.585, allocations: 315.2 kB / 1.607 GB, free: 0.6094 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.585, allocations: 38.56 kB / 1.607 GB, free: 0.5625 MB / 1.279 GB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/1.585, allocations: 0 / 1.607 GB, free: 0.5625 MB / 1.279 GB Notification: Performance of matching and sorting (n=29): time 0.001089/1.586, allocations: 494.7 kB / 1.607 GB, free: 76 kB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.586, allocations: 51.41 kB / 1.607 GB, free: 12 kB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.587, allocations: 1.099 MB / 1.608 GB, free: 14.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/1.587, allocations: 33.7 kB / 1.608 GB, free: 14.86 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006009/1.588, allocations: 0.6024 MB / 1.609 GB, free: 14.26 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.588, allocations: 115 kB / 1.609 GB, free: 14.14 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/1.588, allocations: 118.2 kB / 1.609 GB, free: 14.02 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.588, allocations: 330 kB / 1.609 GB, free: 13.69 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/1.589, allocations: 143 kB / 1.61 GB, free: 13.55 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/1.589, allocations: 433.3 kB / 1.61 GB, free: 13 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/1.59, allocations: 0.5292 MB / 1.611 GB, free: 12.37 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.59, allocations: 3.938 kB / 1.611 GB, free: 12.36 MB / 1.295 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001054/1.591, allocations: 0.6337 MB / 1.611 GB, free: 11.72 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.591, allocations: 8 kB / 1.611 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.591, allocations: 20.05 kB / 1.611 GB, free: 11.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.591, allocations: 12 kB / 1.611 GB, free: 11.68 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/1.592, allocations: 167.8 kB / 1.611 GB, free: 11.52 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/1.594, allocations: 2.36 MB / 1.614 GB, free: 9.066 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/1.594, allocations: 95.56 kB / 1.614 GB, free: 8.973 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/1.594, allocations: 28 kB / 1.614 GB, free: 8.945 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006488/1.595, allocations: 373.1 kB / 1.614 GB, free: 8.578 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005074/1.596, allocations: 421.5 kB / 1.615 GB, free: 8.035 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006934/1.596, allocations: 0.5239 MB / 1.615 GB, free: 7.41 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/1.596, allocations: 4 kB / 1.615 GB, free: 7.406 MB / 1.295 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009819/1.597, allocations: 0.6219 MB / 1.616 GB, free: 6.777 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.597, allocations: 14.03 kB / 1.616 GB, free: 6.766 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/1.597, allocations: 8.016 kB / 1.616 GB, free: 6.758 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.597, allocations: 16.03 kB / 1.616 GB, free: 6.742 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/1.598, allocations: 123.8 kB / 1.616 GB, free: 6.621 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/1.598, allocations: 19.91 kB / 1.616 GB, free: 6.602 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/1.598, allocations: 51.77 kB / 1.616 GB, free: 6.551 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/1.598, allocations: 28 kB / 1.616 GB, free: 6.523 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002037/1.598, allocations: 216.1 kB / 1.616 GB, free: 6.305 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/1.599, allocations: 131.1 kB / 1.616 GB, free: 6.176 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/1.599, allocations: 413.2 kB / 1.617 GB, free: 5.758 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.599, allocations: 4 kB / 1.617 GB, free: 5.754 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.599, allocations: 0 / 1.617 GB, free: 5.754 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.599, allocations: 0 / 1.617 GB, free: 5.754 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/1.602, allocations: 1.298 MB / 1.618 GB, free: 4.375 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.602, allocations: 4.031 kB / 1.618 GB, free: 4.371 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/1.602, allocations: 91.86 kB / 1.618 GB, free: 4.281 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.602, allocations: 7.938 kB / 1.618 GB, free: 4.273 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/1.602, allocations: 12 kB / 1.618 GB, free: 4.262 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/1.604, allocations: 2.34 MB / 1.62 GB, free: 1.828 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.604, allocations: 11.91 kB / 1.62 GB, free: 1.816 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/1.605, allocations: 0.6728 MB / 1.621 GB, free: 1.098 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/1.605, allocations: 224.3 kB / 1.621 GB, free: 0.8594 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.605, allocations: 8 kB / 1.621 GB, free: 0.8516 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/1.605, allocations: 11.95 kB / 1.621 GB, free: 0.8398 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/1.605, allocations: 28 kB / 1.621 GB, free: 0.8125 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/1.606, allocations: 12 kB / 1.621 GB, free: 0.8008 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001029/1.607, allocations: 0.7532 MB / 1.622 GB, free: 44 kB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.607, allocations: 0 / 1.622 GB, free: 44 kB / 1.295 GB Notification: Performance of remove unused functions: time 0.001343/1.608, allocations: 491.3 kB / 1.622 GB, free: 15.56 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001642/1.61, allocations: 1.322 MB / 1.624 GB, free: 14.19 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.611, allocations: 0.6485 MB / 1.624 GB, free: 13.55 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.611, allocations: 0 / 1.624 GB, free: 13.55 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/1.612, allocations: 163.7 kB / 1.625 GB, free: 13.39 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.614, allocations: 0.6323 MB / 1.625 GB, free: 12.77 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.626, allocations: 7.983 MB / 1.633 GB, free: 4.391 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/1.627, allocations: 1.107 MB / 1.634 GB, free: 3.254 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0009922/1.628, allocations: 245.6 kB / 1.634 GB, free: 3.012 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/1.628, allocations: 419.3 kB / 1.635 GB, free: 2.602 MB / 1.311 GB Notification: Performance of SimCode: time 1.062e-06/1.628, allocations: 4 kB / 1.635 GB, free: 2.598 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07696/1.705, allocations: 30.36 MB / 1.664 GB, free: 4.676 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.26, allocations: 16.92 kB / 1.664 GB, free: 4.66 MB / 1.342 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_Sensors.fmu > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.908670080825686]