Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: 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_latest_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_latest_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.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 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.0022/0.0022, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.619/1.619, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 61.52 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3786, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002783/0.3814, allocations: 1.134 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3829, allocations: 1.018 MB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3831, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.868e-05/0.3832, allocations: 23.67 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3834, allocations: 35.66 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.3837, allocations: 83.86 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.3839, allocations: 228.2 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.3842, allocations: 128 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3844, allocations: 99.56 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3846, allocations: 95.55 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.3846, allocations: 24 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.493e-05/0.3846, allocations: 28 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.3847, allocations: 55.77 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.3848, allocations: 103.5 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.3851, allocations: 295.2 kB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3851, allocations: 0 / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3851, allocations: 0 / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3852, allocations: 0 / 1.072 GB, free: 6.996 MB / 0.8262 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.0008915/0.386, allocations: 495.1 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3861, allocations: 12.03 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.3862, allocations: 28.66 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.3867, allocations: 278.9 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3867, allocations: 16.81 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.3868, allocations: 16.38 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.3872, allocations: 199.8 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3872, allocations: 4.125 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3873, allocations: 15.94 kB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3873, allocations: 4 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.3877, allocations: 157.6 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.3886, allocations: 0.5956 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.3889, allocations: 170.6 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3891, allocations: 68.83 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3892, allocations: 4 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3892, allocations: 34.55 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.3892, allocations: 0 / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006301/0.3898, allocations: 226.9 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3899, allocations: 51.41 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3901, allocations: 183.2 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3901, allocations: 29.7 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3902, allocations: 140.1 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.3903, allocations: 51.45 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.3904, allocations: 49.7 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3905, allocations: 330.8 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3907, allocations: 51.97 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.3909, allocations: 94.05 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3913, allocations: 154.1 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3913, allocations: 0 / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004274/0.3917, allocations: 198.6 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3917, allocations: 4 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3917, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3918, allocations: 4 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.3919, allocations: 39.91 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.392, allocations: 0 / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.3921, allocations: 23.98 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3921, allocations: 16 kB / 1.075 GB, free: 3.062 MB / 0.8262 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.000158/0.3923, allocations: 131.4 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3923, allocations: 19.75 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.3924, allocations: 29.84 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3924, allocations: 0 / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3924, allocations: 3.938 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3924, allocations: 0 / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3927, allocations: 281.4 kB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3927, allocations: 0 / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3928, allocations: 19.98 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3928, allocations: 7.984 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3929, allocations: 0 / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3929, allocations: 0 / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3929, allocations: 0 / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.3933, allocations: 272.4 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.3933, allocations: 92.94 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3934, allocations: 8 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3935, allocations: 8 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.3936, allocations: 23.88 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3936, allocations: 7.938 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.3937, allocations: 119.2 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3937, allocations: 0 / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003026/0.394, allocations: 43.84 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001436/0.3942, allocations: 110.4 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.3946, allocations: 159.8 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3946, allocations: 4.312 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.3948, allocations: 77.45 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3951, allocations: 23.88 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.3958, allocations: 344.9 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.3961, allocations: 0.7319 MB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.3962, allocations: 21.55 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.3963, allocations: 23.44 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3963, allocations: 0 / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of Templates: time 0.004631/0.4009, allocations: 1.472 MB / 1.079 GB, free: 14.97 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches