Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.004306/0.004306, allocations: 96.62 kB / 15.73 MB, free: 6.055 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.00127/0.00127, allocations: 195.4 kB / 16.67 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 162.2 MB / 1.241 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00232/0.2841, allocations: 1.008 MB / 1.242 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2853, allocations: 0.9752 MB / 1.243 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.2854, allocations: 4 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.2855, allocations: 15.8 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2856, allocations: 23.73 kB / 1.243 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.2858, allocations: 67.86 kB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.286, allocations: 164 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.2862, allocations: 88.19 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2863, allocations: 71.7 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.2864, allocations: 71.67 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.2865, allocations: 16 kB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.811e-05/0.2865, allocations: 16 kB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.2866, allocations: 39.84 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.2866, allocations: 75.59 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2869, allocations: 207.1 kB / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2869, allocations: 0 / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2869, allocations: 7.938 kB / 1.244 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2869, allocations: 0 / 1.244 GB, free: 7.293 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006769/0.2876, allocations: 454.7 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2876, allocations: 8.031 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.2877, allocations: 50.73 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.2878, allocations: 20.8 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.2882, allocations: 260 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2882, allocations: 12.31 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2883, allocations: 20.38 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.2886, allocations: 146 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2886, allocations: 3.938 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2887, allocations: 4 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.2887, allocations: 4 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.2891, allocations: 131.8 kB / 1.245 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.2897, allocations: 476.3 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.2901, allocations: 118.6 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.2903, allocations: 56.77 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2903, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2903, allocations: 38.56 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.2903, allocations: 0 / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005787/0.2909, allocations: 169.5 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.291, allocations: 59.41 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2911, allocations: 157 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2911, allocations: 25.7 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.2912, allocations: 128.2 kB / 1.247 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.2913, allocations: 35.69 kB / 1.247 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.2913, allocations: 37.7 kB / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2915, allocations: 326.8 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.2917, allocations: 47.97 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.2918, allocations: 74.2 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.2922, allocations: 107.3 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2922, allocations: 4 kB / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003962/0.2926, allocations: 149.5 kB / 1.247 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2926, allocations: 5.562 kB / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2926, allocations: 0 / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2926, allocations: 8.094 kB / 1.247 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2928, allocations: 27.92 kB / 1.247 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2928, allocations: 3.984 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2929, allocations: 19.89 kB / 1.247 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.293, allocations: 7.984 kB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (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 prepare postOptimizeDAE: time 0.0001158/0.2931, allocations: 130.3 kB / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.2931, allocations: 7.953 kB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.2932, allocations: 20.72 kB / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2932, allocations: 0 / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2932, allocations: 0 / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2932, allocations: 0 / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.2935, allocations: 245.4 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2935, allocations: 3.938 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2936, allocations: 23.91 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.2936, allocations: 4 kB / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2936, allocations: 0 / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2936, allocations: 0 / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2937, allocations: 4 kB / 1.248 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.2941, allocations: 231.9 kB / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.2941, allocations: 89.02 kB / 1.248 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.2942, allocations: 8 kB / 1.248 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2943, allocations: 11.98 kB / 1.248 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.2944, allocations: 23.91 kB / 1.248 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2944, allocations: 8 kB / 1.248 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.746e-05/0.2945, allocations: 109.3 kB / 1.248 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2945, allocations: 0 / 1.248 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002638/0.2947, allocations: 31.89 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007358/0.2955, allocations: 0.7787 MB / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.2959, allocations: 115.9 kB / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2959, allocations: 0 / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.2961, allocations: 68.03 kB / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2964, allocations: 15.92 kB / 1.249 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.2987, allocations: 1.738 MB / 1.251 GB, free: 32 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4747/0.7735, allocations: 0.7108 MB / 1.252 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.7736, allocations: 16.5 kB / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.7737, allocations: 51.27 kB / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.7737, allocations: 0 / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.7966, allocations: 2.771 MB / 1.254 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/8.307, allocations: 6.312 kB / 1.254 GB, free: 13.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches