Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.004717/0.004717, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.596/2.596, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.88 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2481, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002259/0.2504, allocations: 1.323 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2516, allocations: 1.084 MB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-05/0.2517, allocations: 7.938 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.2518, allocations: 27.61 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.2519, allocations: 35.61 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.2521, allocations: 115.8 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.2524, allocations: 300.4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.2527, allocations: 172.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2528, allocations: 115.6 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.253, allocations: 127.3 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.253, allocations: 32 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.2531, allocations: 32 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.2531, allocations: 63.83 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2532, allocations: 143.2 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.2536, allocations: 398.3 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2536, allocations: 3.984 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2536, allocations: 0 / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2536, allocations: 4 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007628/0.2544, allocations: 0.5533 MB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2544, allocations: 12.03 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.2545, allocations: 62.72 kB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.2546, allocations: 32.75 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.2551, allocations: 337 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2551, allocations: 20.94 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.2551, allocations: 24.38 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.2556, allocations: 237.4 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2556, allocations: 3.938 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.2556, allocations: 8 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2556, allocations: 8 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.2561, allocations: 198.1 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.257, allocations: 0.6825 MB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.2574, allocations: 178.7 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.2576, allocations: 76.7 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2576, allocations: 4 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2576, allocations: 38.55 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.2576, allocations: 0 / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0005852/0.2582, allocations: 235.2 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2582, allocations: 55.41 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.2584, allocations: 215.7 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2585, allocations: 33.7 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2586, allocations: 164.7 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2586, allocations: 55.53 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.2587, allocations: 61.92 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2588, allocations: 334.8 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.259, allocations: 64.42 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.2592, allocations: 128.5 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.2596, allocations: 172.5 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2596, allocations: 4 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004522/0.26, allocations: 221.4 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2601, allocations: 12.03 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2601, allocations: 3.984 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2601, allocations: 4 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2603, allocations: 43.92 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2603, allocations: 7.984 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2604, allocations: 15.89 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2604, allocations: 15.98 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0001307/0.2606, allocations: 157.7 kB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.2606, allocations: 23.86 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.2607, allocations: 25.86 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2607, allocations: 0 / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2607, allocations: 0 / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2607, allocations: 0 / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.261, allocations: 309.3 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.261, allocations: 0 / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.2611, allocations: 31.92 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2611, allocations: 0 / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2612, allocations: 7.984 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2612, allocations: 0 / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2612, allocations: 0 / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.2616, allocations: 277.2 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.2617, allocations: 104.9 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.2617, allocations: 4 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2618, allocations: 11.98 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.2619, allocations: 23.97 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2619, allocations: 11.92 kB / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001038/0.262, allocations: 141.5 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.262, allocations: 0 / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002621/0.2623, allocations: 47.84 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0007045/0.263, allocations: 0.8314 MB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.2634, allocations: 171.7 kB / 1.23 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2634, allocations: 0 / 1.23 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.2636, allocations: 90.12 kB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2639, allocations: 23.94 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.2664, allocations: 2.204 MB / 1.233 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.2668, allocations: 0.7484 MB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.2669, allocations: 29.94 kB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.267, allocations: 83.41 kB / 1.233 GB, free: 188 kB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.267, allocations: 0 / 1.233 GB, free: 188 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.469/3.736, allocations: 4.019 MB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/17.01, allocations: 12.67 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches