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.Overrides.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides",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.001087/0.001088, 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.001038/0.001038, allocations: 193 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.439/2.439, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 61.67 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2267, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides): time 0.002478/0.2292, allocations: 1.355 MB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2306, allocations: 1.322 MB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.2307, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.331e-05/0.2308, allocations: 39.53 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.2309, allocations: 31.61 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.2314, allocations: 218.8 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.2317, allocations: 384.2 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.2319, allocations: 180.9 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2321, allocations: 147.5 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2322, allocations: 167.3 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.2323, allocations: 36 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.2324, allocations: 55.92 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.2325, allocations: 79.73 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.2326, allocations: 163.2 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.233, allocations: 466.8 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.233, allocations: 0 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.233, allocations: 4 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.233, allocations: 0 / 1.068 GB, free: 9.84 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009397/0.2339, allocations: 0.6372 MB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.234, allocations: 8.031 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.234, allocations: 58.73 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.2341, allocations: 40.47 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.2349, allocations: 364.3 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2349, allocations: 20.94 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.235, allocations: 36.38 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.2355, allocations: 308.2 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2356, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.2356, allocations: 15.94 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2356, allocations: 4 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.2362, allocations: 232.5 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2373, allocations: 0.9908 MB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.2378, allocations: 207.9 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.2381, allocations: 114.5 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.2381, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/0.2385, allocations: 179.3 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.2385, allocations: 4 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0009299/0.2395, allocations: 313.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2395, allocations: 106.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.2397, allocations: 224 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.2397, allocations: 33.64 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.2398, allocations: 180.3 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.2399, allocations: 67.09 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.24, allocations: 77.67 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.2401, allocations: 334.8 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.2404, allocations: 100.2 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.2408, allocations: 188 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.2414, allocations: 309 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2414, allocations: 4 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008117/0.2422, allocations: 366.6 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.2423, allocations: 37.64 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2423, allocations: 7.984 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2423, allocations: 4.312 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.2426, allocations: 51.91 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.2426, allocations: 7.984 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.2429, allocations: 55.7 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.2429, allocations: 16 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001304/0.2431, allocations: 166 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.2431, allocations: 27.73 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.2432, allocations: 25.39 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2432, allocations: 4 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2432, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2432, allocations: 3.938 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.2435, allocations: 325.3 kB / 1.074 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2435, allocations: 0 / 1.074 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.2437, allocations: 39.97 kB / 1.074 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.2437, allocations: 3.938 kB / 1.074 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2437, allocations: 11.98 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2437, allocations: 0 / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2437, allocations: 0 / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.2444, allocations: 277.1 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.2444, allocations: 100.8 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.2444, allocations: 16 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2446, allocations: 15.97 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2447, allocations: 39.95 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.2447, allocations: 12 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.262e-05/0.2448, allocations: 141.9 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2448, allocations: 0 / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002845/0.2451, allocations: 63.78 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008886/0.246, allocations: 0.8245 MB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.2468, allocations: 323 kB / 1.076 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2468, allocations: 3.938 kB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.2471, allocations: 116.5 kB / 1.076 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2474, allocations: 48.62 kB / 1.076 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.2507, allocations: 2.545 MB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2509, allocations: 0.7635 MB / 1.079 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.2511, allocations: 34.3 kB / 1.079 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.2512, allocations: 95.39 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of SimCode: time 1.363e-06/0.2512, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.2718, allocations: 5.687 MB / 1.085 GB, free: 8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/6.874, allocations: 7.234 kB / 1.085 GB, free: 7.996 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches