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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, 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.001106/0.001107, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.191/1.191, allocations: 222.9 MB / 240.2 MB, free: 4.406 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/2, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4803, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001954/0.4823, allocations: 1.116 MB / 0.9509 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007671/0.4831, allocations: 1.011 MB / 0.9519 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.4831, allocations: 2.75 kB / 0.9519 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.4832, allocations: 19.73 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.4833, allocations: 30.44 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.4835, allocations: 79.22 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.4837, allocations: 216.9 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.4838, allocations: 121 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.484, allocations: 97.89 kB / 0.9524 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.4841, allocations: 91.11 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.4841, allocations: 23.31 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.4841, allocations: 21.28 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.4842, allocations: 53.89 kB / 0.9526 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.4842, allocations: 94.75 kB / 0.9527 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.4844, allocations: 277.2 kB / 0.9529 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4844, allocations: 4 kB / 0.9529 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4844, allocations: 0 / 0.9529 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4844, allocations: 0 / 0.9529 GB, free: 6.664 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.0005086/0.485, allocations: 494.8 kB / 0.9534 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.485, allocations: 9.281 kB / 0.9534 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.485, allocations: 57.31 kB / 0.9535 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.4851, allocations: 23.88 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.4854, allocations: 271.3 kB / 0.9537 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4855, allocations: 21.38 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.4855, allocations: 24.44 kB / 0.9538 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.4858, allocations: 184.5 kB / 0.954 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4858, allocations: 0 / 0.954 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.4859, allocations: 6.625 kB / 0.954 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4859, allocations: 5.094 kB / 0.954 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.4862, allocations: 152.5 kB / 0.9541 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.4868, allocations: 0.5723 MB / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.4871, allocations: 129.1 kB / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.4872, allocations: 62.31 kB / 0.9549 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.4872, allocations: 5.875 kB / 0.9549 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.4872, allocations: 31.53 kB / 0.9549 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.103e-06/0.4873, allocations: 4 kB / 0.9549 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005017/0.4878, allocations: 204.4 kB / 0.9551 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.4878, allocations: 55.19 kB / 0.9552 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4879, allocations: 178 kB / 0.9553 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.4879, allocations: 30.77 kB / 0.9554 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.488, allocations: 142.7 kB / 0.9555 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.488, allocations: 49.2 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.4881, allocations: 47.64 kB / 0.9556 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.4881, allocations: 322.2 kB / 0.9559 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4883, allocations: 52.08 kB / 0.9559 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.4884, allocations: 102.6 kB / 0.956 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.4887, allocations: 132.4 kB / 0.9562 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4887, allocations: 0 / 0.9562 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003443/0.489, allocations: 184.3 kB / 0.9563 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4891, allocations: 13.64 kB / 0.9564 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4891, allocations: 5.156 kB / 0.9564 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4891, allocations: 6.875 kB / 0.9564 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.4893, allocations: 27.14 kB / 0.9564 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4893, allocations: 2.344 kB / 0.9564 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.972e-05/0.4894, allocations: 26.95 kB / 0.9564 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4894, allocations: 5.969 kB / 0.9564 GB, free: 3.738 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 7.626e-05/0.4895, allocations: 142.9 kB / 0.9566 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.4895, allocations: 13.72 kB / 0.9566 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.4895, allocations: 20.81 kB / 0.9566 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4896, allocations: 2.656 kB / 0.9566 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4896, allocations: 0 / 0.9566 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4896, allocations: 0 / 0.9566 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.4898, allocations: 265.3 kB / 0.9568 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4898, allocations: 2.062 kB / 0.9568 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4899, allocations: 22.14 kB / 0.9569 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4899, allocations: 5.031 kB / 0.9569 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4899, allocations: 9.203 kB / 0.9569 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4899, allocations: 5.891 kB / 0.9569 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4899, allocations: 4 kB / 0.9569 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.4902, allocations: 250.5 kB / 0.9571 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.4903, allocations: 93.64 kB / 0.9572 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4903, allocations: 7.938 kB / 0.9572 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4904, allocations: 10.02 kB / 0.9572 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.4905, allocations: 27.44 kB / 0.9573 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4905, allocations: 3.156 kB / 0.9573 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.4905, allocations: 123.1 kB / 0.9574 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4906, allocations: 0 / 0.9574 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002456/0.4908, allocations: 37.25 kB / 0.9574 GB, free: 2.848 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.0004706/0.4913, allocations: 0.7988 MB / 0.9582 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.4916, allocations: 150.3 kB / 0.9583 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4917, allocations: 320 / 0.9583 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.4918, allocations: 73.14 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.4921, allocations: 22.77 kB / 0.9584 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4939, allocations: 1.912 MB / 0.9603 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.4941, allocations: 0.7283 MB / 0.961 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.926e-05/0.4942, allocations: 28.84 kB / 0.961 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.4943, allocations: 61.41 kB / 0.9611 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.4943, allocations: 1.094 kB / 0.9611 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5218/1.016, allocations: 3.114 MB / 0.9641 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.67, allocations: 19.77 kB / 0.9642 GB, free: 14.08 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > 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/jenkins1/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