Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.001724/0.001724, allocations: 111.1 kB / 16.46 MB, free: 6.453 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.001988/0.001988, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.489/1.489, 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 3.256/3.256, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",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.002024/0.002024, allocations: 73.25 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003394/0.3498, allocations: 1.773 MB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3516, allocations: 1.194 MB / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.3518, allocations: 8 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.352, allocations: 51.33 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.3522, allocations: 55.34 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.3527, allocations: 187.7 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.3533, allocations: 0.5048 MB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.3537, allocations: 212.7 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.354, allocations: 207.2 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.3543, allocations: 242.8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3544, allocations: 60 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.3545, allocations: 56 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3546, allocations: 123.6 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.3549, allocations: 242.6 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.3557, allocations: 0.6965 MB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3557, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3557, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.3557, allocations: 0 / 1.326 GB, free: 13.71 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00158/0.3573, allocations: 0.7752 MB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3573, allocations: 15.98 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.3574, allocations: 86.7 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3575, allocations: 56.56 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.3588, allocations: 492.1 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.3588, allocations: 37.38 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.3589, allocations: 44.38 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.36, allocations: 0.4986 MB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.36, allocations: 3.938 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.3601, allocations: 16 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.3601, allocations: 15.94 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3614, allocations: 441.8 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.3632, allocations: 1.232 MB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3642, allocations: 387.7 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.3649, allocations: 212.2 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.3649, allocations: 7.938 kB / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.365, allocations: 42.56 kB / 1.331 GB, free: 9.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/0.365, allocations: 0 / 1.331 GB, free: 9.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.001992/0.3669, allocations: 0.5634 MB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.367, allocations: 126.7 kB / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.3674, allocations: 278.8 kB / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.3674, allocations: 37.7 kB / 1.331 GB, free: 8.113 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3676, allocations: 228.6 kB / 1.332 GB, free: 7.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.3677, allocations: 123 kB / 1.332 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3679, allocations: 94.09 kB / 1.332 GB, free: 7.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3681, allocations: 342.8 kB / 1.332 GB, free: 7.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.3686, allocations: 164.7 kB / 1.332 GB, free: 7.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.3693, allocations: 249.7 kB / 1.333 GB, free: 6.883 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3705, allocations: 391.6 kB / 1.333 GB, free: 6.469 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3705, allocations: 0 / 1.333 GB, free: 6.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001446/0.3719, allocations: 478.9 kB / 1.333 GB, free: 5.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.372, allocations: 4.25 kB / 1.333 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.372, allocations: 12 kB / 1.333 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.372, allocations: 7.938 kB / 1.333 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.3725, allocations: 103.8 kB / 1.334 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3725, allocations: 4 kB / 1.334 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.3729, allocations: 55.73 kB / 1.334 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.3729, allocations: 20 kB / 1.334 GB, free: 5.793 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.000337/0.3733, allocations: 184.3 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3734, allocations: 35.75 kB / 1.334 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3735, allocations: 42.2 kB / 1.334 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3735, allocations: 11.92 kB / 1.334 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3735, allocations: 8 kB / 1.334 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3735, allocations: 0 / 1.334 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.3742, allocations: 461.2 kB / 1.334 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3742, allocations: 4 kB / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.3747, allocations: 83.86 kB / 1.334 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3747, allocations: 0 / 1.334 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3747, allocations: 8 kB / 1.334 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3747, allocations: 3.938 kB / 1.334 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3747, allocations: 4 kB / 1.334 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3761, allocations: 0.6651 MB / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.3762, allocations: 112.8 kB / 1.335 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.3762, allocations: 8 kB / 1.335 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.3766, allocations: 39.89 kB / 1.335 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.3768, allocations: 63.92 kB / 1.335 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.3768, allocations: 16 kB / 1.335 GB, free: 3.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001666/0.377, allocations: 177.9 kB / 1.336 GB, free: 3.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.377, allocations: 3.938 kB / 1.336 GB, free: 3.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004828/0.3774, allocations: 91.73 kB / 1.336 GB, free: 3.699 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.001925/0.3794, allocations: 1.227 MB / 1.337 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.3807, allocations: 397.7 kB / 1.337 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3807, allocations: 0 / 1.337 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.3814, allocations: 228.6 kB / 1.337 GB, free: 1.836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.382, allocations: 53.03 kB / 1.337 GB, free: 1.781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.3881, allocations: 3.5 MB / 1.341 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.3885, allocations: 0.8154 MB / 1.342 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.3888, allocations: 51.27 kB / 1.342 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.389, allocations: 163.4 kB / 1.342 GB, free: 13.08 MB / 1.045 GB Notification: Performance of SimCode: time 9.02e-07/0.389, allocations: 0 / 1.342 GB, free: 13.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.4216, allocations: 7.024 MB / 1.349 GB, free: 6.285 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.929, allocations: 10.64 kB / 1.349 GB, free: 6.277 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.822430834174156]