Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.604/2.604, allocations: 390.2 MB / 0.6646 GB, free: 312 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8899, allocations: 140.3 MB / 0.9496 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002524/0.8925, allocations: 1.107 MB / 0.9507 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.8936, allocations: 1.008 MB / 0.9517 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.8937, allocations: 2.594 kB / 0.9517 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.8937, allocations: 19.73 kB / 0.9517 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.8939, allocations: 38.12 kB / 0.9518 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.8942, allocations: 79.55 kB / 0.9518 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.8944, allocations: 217.8 kB / 0.952 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.8946, allocations: 116.4 kB / 0.9522 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.8948, allocations: 97.56 kB / 0.9522 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.8949, allocations: 90.98 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.8949, allocations: 21.94 kB / 0.9524 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.895, allocations: 23.69 kB / 0.9524 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.895, allocations: 48.78 kB / 0.9524 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.8951, allocations: 102.1 kB / 0.9525 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.8953, allocations: 277.7 kB / 0.9528 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8953, allocations: 4 kB / 0.9528 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8953, allocations: 0 / 0.9528 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.8953, allocations: 1.094 kB / 0.9528 GB, free: 6.91 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000601/0.8959, allocations: 494.4 kB / 0.9533 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.896, allocations: 9 kB / 0.9533 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.8961, allocations: 24.38 kB / 0.9533 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.8965, allocations: 275.5 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.8965, allocations: 21 kB / 0.9536 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.8965, allocations: 16.56 kB / 0.9536 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.8969, allocations: 192.1 kB / 0.9538 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.8969, allocations: 3.984 kB / 0.9538 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.8969, allocations: 10.19 kB / 0.9538 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.897, allocations: 4.562 kB / 0.9538 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.8973, allocations: 149.7 kB / 0.9539 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.898, allocations: 0.5685 MB / 0.9545 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.8983, allocations: 132.6 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.8985, allocations: 59.27 kB / 0.9547 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.8985, allocations: 5.156 kB / 0.9547 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.8985, allocations: 35.53 kB / 0.9547 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.8986, allocations: 1.5 kB / 0.9547 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005859/0.8991, allocations: 207 kB / 0.9549 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.8992, allocations: 52.5 kB / 0.955 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.8994, allocations: 181.2 kB / 0.9551 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.8994, allocations: 26.86 kB / 0.9552 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.8995, allocations: 138.7 kB / 0.9553 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.8995, allocations: 48.48 kB / 0.9553 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.8996, allocations: 44.23 kB / 0.9554 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.8997, allocations: 330.4 kB / 0.9557 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.8998, allocations: 47.03 kB / 0.9557 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.9, allocations: 99.81 kB / 0.9558 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.9003, allocations: 142.1 kB / 0.956 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9003, allocations: 0 / 0.956 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003922/0.9007, allocations: 186.6 kB / 0.9561 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9008, allocations: 5.562 kB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9008, allocations: 10.14 kB / 0.9562 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9008, allocations: 2.25 kB / 0.9562 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.901, allocations: 30.45 kB / 0.9562 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.901, allocations: 10.67 kB / 0.9562 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.9011, allocations: 19.91 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.9011, allocations: 9.141 kB / 0.9562 GB, free: 4.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001028/0.9013, allocations: 134.8 kB / 0.9564 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.9013, allocations: 10.69 kB / 0.9564 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.9013, allocations: 19.84 kB / 0.9564 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9013, allocations: 6.406 kB / 0.9564 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9014, allocations: 3.984 kB / 0.9564 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.9014, allocations: 5.109 kB / 0.9564 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.9016, allocations: 266.4 kB / 0.9567 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9016, allocations: 0 / 0.9567 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.9018, allocations: 28.25 kB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9018, allocations: 0 / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.9018, allocations: 9.844 kB / 0.9567 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.9018, allocations: 0 / 0.9567 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9018, allocations: 0 / 0.9567 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.9022, allocations: 250.4 kB / 0.9569 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.9022, allocations: 93.27 kB / 0.957 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.9022, allocations: 9.281 kB / 0.957 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.9023, allocations: 16.33 kB / 0.957 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.9024, allocations: 24.28 kB / 0.9571 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.9025, allocations: 12.72 kB / 0.9571 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.9025, allocations: 121.1 kB / 0.9572 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9025, allocations: 0 / 0.9572 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002519/0.9028, allocations: 36.03 kB / 0.9572 GB, free: 3.141 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001093/0.9029, allocations: 113.7 kB / 0.9573 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.9033, allocations: 146.3 kB / 0.9575 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9033, allocations: 1.375 kB / 0.9575 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.9035, allocations: 73.14 kB / 0.9576 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.9038, allocations: 16.59 kB / 0.9576 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.9044, allocations: 337.8 kB / 0.9579 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.9046, allocations: 0.7252 MB / 0.9586 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.9047, allocations: 23.16 kB / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.9047, allocations: 22.31 kB / 0.9586 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9048, allocations: 0 / 0.9586 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.004537/0.9093, allocations: 1.424 MB / 0.96 GB, free: 1.285 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches