Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.006756/0.006756, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001143/0.001143, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.344, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002164/0.3462, allocations: 0.7101 MB / 1.208 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3474, allocations: 0.8 MB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.3475, allocations: 0 / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.3475, allocations: 0 / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.3477, allocations: 15.88 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.3478, allocations: 7.984 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.3479, allocations: 47.84 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.348, allocations: 12 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.3481, allocations: 15.98 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.3482, allocations: 15.92 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3482, allocations: 4 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.3482, allocations: 4 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.3483, allocations: 19.84 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.3483, allocations: 11.94 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3484, allocations: 51.81 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3484, allocations: 3.938 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3485, allocations: 7.984 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3485, allocations: 0 / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006143/0.3491, allocations: 355.6 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.3492, allocations: 12.62 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.3492, allocations: 30.75 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3492, allocations: 4.938 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3494, allocations: 180.2 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3494, allocations: 4.375 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3495, allocations: 384 / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.3497, allocations: 66.22 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3498, allocations: 3.938 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3498, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3498, allocations: 4 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.3501, allocations: 71.86 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.3505, allocations: 268.9 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3507, allocations: 50.55 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3509, allocations: 40.91 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3509, allocations: 0 / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.351, allocations: 42.5 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.351, allocations: 0 / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005344/0.3515, allocations: 129.6 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3516, allocations: 51.41 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.3517, allocations: 109.8 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3517, allocations: 29.7 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.3518, allocations: 84.14 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3518, allocations: 3.906 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.3519, allocations: 17.72 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.352, allocations: 318.8 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3522, allocations: 31.97 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3523, allocations: 32.14 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.3526, allocations: 84.73 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3526, allocations: 0 / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003038/0.3529, allocations: 101.5 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3529, allocations: 5.562 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3529, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.353, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3531, allocations: 15.98 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3531, allocations: 4 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.3532, allocations: 19.91 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3532, allocations: 0 / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001197/0.3533, allocations: 117.8 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.3534, allocations: 0 / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.3537, allocations: 113.5 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3538, allocations: 0 / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3538, allocations: 0 / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3538, allocations: 0 / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.354, allocations: 177.5 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.354, allocations: 0 / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.647e-05/0.3541, allocations: 19.97 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3541, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3541, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3541, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3541, allocations: 4 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.3545, allocations: 203.3 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.3545, allocations: 81.09 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3546, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.3547, allocations: 15.98 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3547, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3547, allocations: 4 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.3548, allocations: 87.27 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3548, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002225/0.355, allocations: 8 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007062/0.3557, allocations: 0.7357 MB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.3561, allocations: 63.92 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3561, allocations: 4 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3562, allocations: 43.95 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.3566, allocations: 4.375 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.3571, allocations: 166.9 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3574, allocations: 0.6845 MB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.3575, allocations: 4 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.3575, allocations: 11.44 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3575, allocations: 4 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.3755, allocations: 1.629 MB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.105, allocations: 15.84 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches