Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_Reliefs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_Reliefs",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.007205/0.007205, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.002047/0.002047, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 1.083 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 162.2 MB / 1.242 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs): time 0.002275/0.2991, allocations: 1.024 MB / 1.243 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3003, allocations: 0.9169 MB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.3004, allocations: 4 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.3005, allocations: 15.8 kB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3006, allocations: 35.67 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.3008, allocations: 67.92 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.3011, allocations: 204 kB / 1.244 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.3013, allocations: 88.64 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.3014, allocations: 67.72 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3015, allocations: 83.59 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.3015, allocations: 20 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.243e-05/0.3016, allocations: 20 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.3016, allocations: 39.91 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.3017, allocations: 87.48 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.302, allocations: 266.9 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.302, allocations: 3.938 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3021, allocations: 4 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3021, allocations: 0 / 1.244 GB, free: 7.141 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000757/0.3028, allocations: 482.9 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3029, allocations: 12.03 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/0.3029, allocations: 46.73 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.303, allocations: 20.84 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.3034, allocations: 268.3 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3035, allocations: 8.703 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.3035, allocations: 16.38 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.3039, allocations: 164.7 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3039, allocations: 3.938 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3039, allocations: 19.97 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3039, allocations: 4 kB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.3043, allocations: 131.8 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.3052, allocations: 0.5508 MB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3054, allocations: 90.67 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.3056, allocations: 44.83 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3056, allocations: 4 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3057, allocations: 34.56 kB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3057, allocations: 0 / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004879/0.3061, allocations: 161.4 kB / 1.246 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.3062, allocations: 51.41 kB / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3064, allocations: 195.1 kB / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3064, allocations: 29.7 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3066, allocations: 143.8 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3066, allocations: 31.7 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.3067, allocations: 29.7 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3068, allocations: 330.8 kB / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.307, allocations: 35.97 kB / 1.247 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3071, allocations: 76.2 kB / 1.247 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3074, allocations: 120.2 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3074, allocations: 0 / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003661/0.3078, allocations: 161.4 kB / 1.248 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3078, allocations: 10 kB / 1.248 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3079, allocations: 0 / 1.248 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3079, allocations: 4 kB / 1.248 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.308, allocations: 27.98 kB / 1.248 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3081, allocations: 3.938 kB / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3082, allocations: 23.88 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.3082, allocations: 4 kB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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.000109/0.3083, allocations: 126.3 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.3084, allocations: 19.91 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.3088, allocations: 147.1 kB / 1.248 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3088, allocations: 7.938 kB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3088, allocations: 3.938 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3088, allocations: 0 / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.3095, allocations: 480 kB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3095, allocations: 0 / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3096, allocations: 20.45 kB / 1.248 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3096, allocations: 7.938 kB / 1.248 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3097, allocations: 7.984 kB / 1.248 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3097, allocations: 3.938 kB / 1.248 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3097, allocations: 8 kB / 1.248 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.3101, allocations: 241.2 kB / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.3101, allocations: 96.95 kB / 1.249 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3102, allocations: 4 kB / 1.249 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3103, allocations: 15.98 kB / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.3104, allocations: 15.92 kB / 1.249 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3104, allocations: 4 kB / 1.249 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001424/0.3105, allocations: 153.1 kB / 1.249 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3105, allocations: 0 / 1.249 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002732/0.3108, allocations: 23.94 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007511/0.3116, allocations: 0.7843 MB / 1.25 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.3119, allocations: 95.88 kB / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3119, allocations: 4.25 kB / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3121, allocations: 51.92 kB / 1.25 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3124, allocations: 27.97 kB / 1.25 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4984/0.8108, allocations: 1.885 MB / 1.252 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.811, allocations: 0.7205 MB / 1.252 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.8111, allocations: 24.66 kB / 1.252 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.8112, allocations: 48.62 kB / 1.253 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/0.8112, allocations: 1.719 kB / 1.253 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.8363, allocations: 3.267 MB / 1.256 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.661, allocations: 15.14 kB / 1.256 GB, free: 12.95 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_Reliefs.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_Reliefs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.Reliefs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches