Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.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.001352/0.001352, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001532/0.001532, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [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.002079/0.002079, allocations: 65.58 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002664/0.3894, allocations: 1.077 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3909, allocations: 1.057 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.391, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.067e-05/0.391, allocations: 23.67 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3912, allocations: 23.75 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3915, allocations: 99.83 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.3917, allocations: 224.2 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.392, allocations: 100.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.3922, allocations: 99.58 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3924, allocations: 107.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.3924, allocations: 24 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.3925, allocations: 28 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.3925, allocations: 47.84 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.3926, allocations: 83.53 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.393, allocations: 318.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.393, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.328e-06/0.393, allocations: 3.984 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.393, allocations: 4 kB / 1.33 GB, free: 13.69 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007968/0.3938, allocations: 425.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3939, allocations: 8.031 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.3941, allocations: 40.73 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.3946, allocations: 218.4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3946, allocations: 16.81 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.3946, allocations: 24.38 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.3951, allocations: 199.8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3951, allocations: 192 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.3951, allocations: 11.94 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3951, allocations: 8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.3956, allocations: 157.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.3964, allocations: 479.2 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.3968, allocations: 152.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3969, allocations: 64.73 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.397, allocations: 7.984 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.397, allocations: 30.56 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.397, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006428/0.3976, allocations: 213.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3977, allocations: 55.31 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3979, allocations: 187.4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3979, allocations: 25.7 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.398, allocations: 148.5 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.398, allocations: 51.58 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.3981, allocations: 49.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3983, allocations: 326.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3984, allocations: 55.97 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3986, allocations: 103.7 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.399, allocations: 138.5 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.399, allocations: 4 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004383/0.3994, allocations: 198.5 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3994, allocations: 7.938 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3994, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3994, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3997, allocations: 31.97 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3997, allocations: 12.09 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.3998, allocations: 23.88 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3998, allocations: 4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * 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.0002161/0.4, allocations: 134.4 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.4001, allocations: 19.84 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.4001, allocations: 25.8 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4001, allocations: 0 / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4001, allocations: 0 / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.4001, allocations: 15.91 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4002, allocations: 4 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.4003, allocations: 15.92 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.4004, allocations: 23.91 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005083/0.4009, allocations: 246.4 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004781/0.4014, allocations: 348.3 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001846/0.4015, allocations: 67.89 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.958e-05/0.4016, allocations: 123.5 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/0.4016, allocations: 0 / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.4023, allocations: 178.1 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008708/0.4031, allocations: 0.7685 MB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of Templates: time 0.005722/0.4089, allocations: 1.964 MB / 1.337 GB, free: 6.133 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.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: 9.292969940004696]