Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 105.2 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 205.7 kB / 19.42 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.715/1.715, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.943/2.943, allocations: 0.49 GB / 0.7916 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 66.97 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3378, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004996/0.3428, allocations: 3.152 MB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3452, allocations: 1.181 MB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.3457, allocations: 23.81 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.3461, allocations: 91.05 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.3465, allocations: 107.1 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009391/0.3475, allocations: 372.7 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008805/0.3483, allocations: 0.6363 MB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.3487, allocations: 165.7 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.3491, allocations: 243 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3495, allocations: 210.8 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.374e-05/0.3496, allocations: 52 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3497, allocations: 60 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.3498, allocations: 107.6 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.35, allocations: 250.6 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007828/0.3508, allocations: 0.6924 MB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3508, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3508, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.3508, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001568/0.3524, allocations: 0.8445 MB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3525, allocations: 11.98 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.636e-05/0.3526, allocations: 70.72 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.3529, allocations: 84.53 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.354, allocations: 0.5221 MB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.354, allocations: 25.03 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.354, allocations: 36.31 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.3547, allocations: 367 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3547, allocations: 15.94 kB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.3548, allocations: 8 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3548, allocations: 8 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.3554, allocations: 250 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.3572, allocations: 1.444 MB / 1.332 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.3579, allocations: 246.9 kB / 1.332 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.3582, allocations: 132.7 kB / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.3582, allocations: 3.984 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3582, allocations: 38.55 kB / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.3582, allocations: 0 / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009323/0.3592, allocations: 363.1 kB / 1.332 GB, free: 7.348 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3592, allocations: 55.41 kB / 1.332 GB, free: 7.281 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.3597, allocations: 425.8 kB / 1.333 GB, free: 6.859 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.3597, allocations: 25.7 kB / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3599, allocations: 264.4 kB / 1.333 GB, free: 6.566 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.36, allocations: 87.27 kB / 1.333 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3601, allocations: 57.97 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3603, allocations: 350.8 kB / 1.333 GB, free: 6.062 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.3605, allocations: 96.5 kB / 1.334 GB, free: 5.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.3608, allocations: 156.8 kB / 1.334 GB, free: 5.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.3614, allocations: 277.1 kB / 1.334 GB, free: 5.492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3614, allocations: 0 / 1.334 GB, free: 5.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007277/0.3621, allocations: 347 kB / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3621, allocations: 4 kB / 1.334 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3621, allocations: 4 kB / 1.334 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3621, allocations: 7.938 kB / 1.334 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.3624, allocations: 68.14 kB / 1.334 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3624, allocations: 4 kB / 1.334 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.3626, allocations: 39.7 kB / 1.334 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.3627, allocations: 8 kB / 1.334 GB, free: 5.016 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.000186/0.3629, allocations: 169.8 kB / 1.335 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.3629, allocations: 55.64 kB / 1.335 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.363, allocations: 44.02 kB / 1.335 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.363, allocations: 4 kB / 1.335 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3631, allocations: 0 / 1.335 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3631, allocations: 11.92 kB / 1.335 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.3635, allocations: 437.2 kB / 1.335 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3635, allocations: 0 / 1.335 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.3638, allocations: 43.91 kB / 1.335 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3638, allocations: 4 kB / 1.335 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3638, allocations: 7.984 kB / 1.335 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.3638, allocations: 4 kB / 1.335 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3638, allocations: 4 kB / 1.335 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.3648, allocations: 0.5003 MB / 1.336 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3649, allocations: 136.8 kB / 1.336 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.365, allocations: 12.06 kB / 1.336 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3652, allocations: 15.98 kB / 1.336 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.3652, allocations: 19.92 kB / 1.336 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3652, allocations: 4 kB / 1.336 GB, free: 3.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003473/0.3656, allocations: 299.1 kB / 1.336 GB, free: 3.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3656, allocations: 0 / 1.336 GB, free: 3.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003277/0.3659, allocations: 67.78 kB / 1.336 GB, free: 3.105 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * 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.001232/0.3672, allocations: 1.048 MB / 1.337 GB, free: 2.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.3677, allocations: 231.7 kB / 1.337 GB, free: 1.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3677, allocations: 0 / 1.337 GB, free: 1.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.368, allocations: 109 kB / 1.338 GB, free: 1.703 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.3687, allocations: 142.7 kB / 1.338 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.3738, allocations: 3.527 MB / 1.341 GB, free: 13.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3742, allocations: 0.8155 MB / 1.342 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.3744, allocations: 59.23 kB / 1.342 GB, free: 13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3746, allocations: 147.4 kB / 1.342 GB, free: 12.86 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.3746, allocations: 0 / 1.342 GB, free: 12.86 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/0.4222, allocations: 8.139 MB / 1.35 GB, free: 4.934 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.609, allocations: 18.66 kB / 1.35 GB, free: 4.918 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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: 15.191553462995216]