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.001387/0.001387, 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.001323/0.001323, allocations: 197.9 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.29/1.29, 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 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 65.88 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2853, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002946/0.2882, allocations: 1.306 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2898, allocations: 1.078 MB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.29, allocations: 8 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.2902, allocations: 35.59 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.2904, allocations: 35.59 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.2907, allocations: 111.8 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.291, allocations: 300.4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.2913, allocations: 180.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.2915, allocations: 115.5 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.2917, allocations: 131.3 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.2917, allocations: 32 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-05/0.2918, allocations: 32 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.2918, allocations: 67.77 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.292, allocations: 131.3 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.2924, allocations: 394.9 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2924, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.427e-06/0.2924, allocations: 3.984 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2924, allocations: 0 / 1.068 GB, free: 10.2 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008417/0.2933, allocations: 0.5459 MB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2933, allocations: 8.031 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/0.2934, allocations: 66.72 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.2935, allocations: 28.66 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.294, allocations: 328.9 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.294, allocations: 20.88 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2941, allocations: 28.38 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.2945, allocations: 233.4 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2945, allocations: 7.938 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2946, allocations: 8 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2946, allocations: 12 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.295, allocations: 186.1 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.296, allocations: 0.7017 MB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.2965, allocations: 174.5 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.2967, allocations: 74.72 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2967, allocations: 4 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2967, allocations: 34.56 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.163e-06/0.2967, allocations: 0 / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006184/0.2974, allocations: 237.2 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2974, allocations: 55.41 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.2976, allocations: 211.7 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2976, allocations: 29.7 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2978, allocations: 160.3 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.2978, allocations: 55.36 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.2979, allocations: 69.83 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2981, allocations: 334.8 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2983, allocations: 64.42 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.2985, allocations: 124.9 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.2989, allocations: 172.7 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2989, allocations: 7.938 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004584/0.2993, allocations: 219.2 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2994, allocations: 12 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2994, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2994, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.2996, allocations: 39.91 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2996, allocations: 4 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2997, allocations: 23.83 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2997, allocations: 12 kB / 1.072 GB, free: 5.684 MB / 0.8262 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.0001769/0.2999, allocations: 157.6 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.3, allocations: 27.72 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.3, allocations: 21.88 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3, allocations: 0 / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3, allocations: 0 / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3, allocations: 3.984 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.3004, allocations: 301.5 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3004, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3005, allocations: 23.97 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3005, allocations: 8 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3006, allocations: 8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3006, allocations: 7.922 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3006, allocations: 3.938 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.301, allocations: 277.2 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.3011, allocations: 104.8 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3011, allocations: 0 / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3013, allocations: 15.98 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3014, allocations: 23.97 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3014, allocations: 4 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001134/0.3015, allocations: 141.5 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3015, allocations: 0 / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002788/0.3018, allocations: 51.75 kB / 1.073 GB, free: 4.438 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: 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.0007951/0.3026, allocations: 0.8254 MB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.3031, allocations: 185.8 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.3031, allocations: 0 / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3033, allocations: 83.89 kB / 1.074 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3036, allocations: 23.94 kB / 1.074 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.3063, allocations: 2.188 MB / 1.076 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3067, allocations: 0.7524 MB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.3068, allocations: 25.94 kB / 1.077 GB, free: 196 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.307, allocations: 87.41 kB / 1.077 GB, free: 112 kB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.307, allocations: 0 / 1.077 GB, free: 112 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.451/3.758, allocations: 3.962 MB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/14.95, allocations: 23.98 kB / 1.081 GB, free: 12.33 MB / 0.8419 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