Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.001601/0.001601, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.001603/0.001603, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.523/1.523, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5763 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 68.11 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3201, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.0046/0.3247, allocations: 3.122 MB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3266, allocations: 1.111 MB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.3268, allocations: 23.81 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.3271, allocations: 83.12 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.3273, allocations: 115 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.328, allocations: 341.9 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.3286, allocations: 0.6286 MB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.3289, allocations: 169.9 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.3292, allocations: 231 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.3295, allocations: 206.8 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.3295, allocations: 52 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.3296, allocations: 56 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.3297, allocations: 107.6 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3299, allocations: 238.6 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.3306, allocations: 0.6886 MB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3306, allocations: 3.984 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3306, allocations: 4 kB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3306, allocations: 3.938 kB / 1.221 GB, free: 9.723 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00132/0.3319, allocations: 0.8289 MB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.332, allocations: 12.03 kB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.3321, allocations: 60.56 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/0.3329, allocations: 0.5221 MB / 1.222 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.333, allocations: 21.03 kB / 1.222 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.333, allocations: 32.38 kB / 1.222 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.3337, allocations: 367.1 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3337, allocations: 0 / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3338, allocations: 15.94 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3338, allocations: 11.98 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.3344, allocations: 258 kB / 1.223 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3361, allocations: 1.421 MB / 1.224 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.3368, allocations: 254.8 kB / 1.225 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.3371, allocations: 128.7 kB / 1.225 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.3371, allocations: 4 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3372, allocations: 38.55 kB / 1.225 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.3372, allocations: 0 / 1.225 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.0009405/0.3381, allocations: 362.7 kB / 1.225 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3381, allocations: 51.41 kB / 1.225 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.3386, allocations: 422 kB / 1.226 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3386, allocations: 25.7 kB / 1.226 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3388, allocations: 268.4 kB / 1.226 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.3389, allocations: 79.33 kB / 1.226 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.339, allocations: 53.98 kB / 1.226 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3392, allocations: 358.7 kB / 1.226 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.3394, allocations: 96.45 kB / 1.227 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.3397, allocations: 168.7 kB / 1.227 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.3403, allocations: 270.4 kB / 1.227 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3403, allocations: 0 / 1.227 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006883/0.341, allocations: 341.2 kB / 1.227 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.341, allocations: 13.81 kB / 1.227 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.341, allocations: 0 / 1.227 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.341, allocations: 4 kB / 1.227 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.3413, allocations: 63.91 kB / 1.227 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3413, allocations: 7.984 kB / 1.227 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.3415, allocations: 39.7 kB / 1.227 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.3416, allocations: 8 kB / 1.227 GB, free: 2.871 MB / 0.9669 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.0002031/0.3418, allocations: 173.8 kB / 1.228 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.3418, allocations: 47.72 kB / 1.228 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.3419, allocations: 51.95 kB / 1.228 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3419, allocations: 4 kB / 1.228 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.342, allocations: 0 / 1.228 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.342, allocations: 7.875 kB / 1.228 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.3425, allocations: 433.2 kB / 1.228 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3425, allocations: 7.938 kB / 1.228 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.3427, allocations: 47.95 kB / 1.228 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3427, allocations: 4 kB / 1.228 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.3427, allocations: 4 kB / 1.228 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3428, allocations: 4 kB / 1.228 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3428, allocations: 0 / 1.228 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009732/0.3437, allocations: 0.5065 MB / 1.229 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3439, allocations: 140.7 kB / 1.229 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.3439, allocations: 4 kB / 1.229 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.3441, allocations: 15.98 kB / 1.229 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.3442, allocations: 19.84 kB / 1.229 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3442, allocations: 11.92 kB / 1.229 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000333/0.3445, allocations: 287.1 kB / 1.229 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3445, allocations: 4.062 kB / 1.229 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003248/0.3448, allocations: 63.89 kB / 1.229 GB, free: 0.9688 MB / 0.9669 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.00013/0.345, allocations: 107.2 kB / 1.229 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000626/0.3456, allocations: 232.2 kB / 1.229 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3456, allocations: 0 / 1.229 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.3459, allocations: 107.9 kB / 1.23 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.3465, allocations: 127 kB / 1.23 GB, free: 416 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3479, allocations: 0.7735 MB / 1.23 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.3483, allocations: 0.8194 MB / 1.231 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3484, allocations: 43.36 kB / 1.231 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3484, allocations: 0 / 1.231 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.008343/0.3568, allocations: 5.389 MB / 1.237 GB, free: 9.355 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.897892891895026]