Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",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.008382/0.008382, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.002195/0.002195, allocations: 197.2 kB / 16.68 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.91 kB / 0.9504 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8223, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003933/0.8263, allocations: 2.208 MB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1777/1.004, allocations: 150.6 MB / 1.237 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/1.004, allocations: 6.125 kB / 1.237 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009988/1.005, allocations: 0.7777 MB / 1.237 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008255/1.006, allocations: 495.4 kB / 1.238 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/1.007, allocations: 409.7 kB / 1.238 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007659/1.008, allocations: 0.5633 MB / 1.239 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/1.008, allocations: 84.77 kB / 1.239 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/1.01, allocations: 370.3 kB / 1.239 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/1.01, allocations: 475.9 kB / 1.24 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/1.01, allocations: 23.38 kB / 1.24 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006298/1.011, allocations: 299.5 kB / 1.24 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/1.011, allocations: 183.8 kB / 1.24 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002715/1.011, allocations: 266 kB / 1.24 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/1.012, allocations: 0.7389 MB / 1.241 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.012, allocations: 3.938 kB / 1.241 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/1.012, allocations: 5.531 kB / 1.241 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.942e-05/1.012, allocations: 0 / 1.241 GB, free: 15.96 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001961/1.014, allocations: 1.057 MB / 1.242 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.014, allocations: 9.656 kB / 1.242 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.321e-05/1.015, allocations: 56.75 kB / 1.242 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/1.016, allocations: 200 kB / 1.242 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007146/1.017, allocations: 492.9 kB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/1.017, allocations: 17.12 kB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/1.017, allocations: 21.47 kB / 1.243 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009472/1.018, allocations: 330.1 kB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.018, allocations: 7.984 kB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/1.018, allocations: 8 kB / 1.243 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.018, allocations: 4 kB / 1.243 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/1.019, allocations: 344.6 kB / 1.244 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/1.022, allocations: 1.105 MB / 1.245 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.023, allocations: 401.4 kB / 1.245 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/1.023, allocations: 209.4 kB / 1.245 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/1.023, allocations: 11.94 kB / 1.245 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008162/1.024, allocations: 306.3 kB / 1.246 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/1.024, allocations: 0 / 1.246 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.009018/1.033, allocations: 1.22 MB / 1.247 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.033, allocations: 81.11 kB / 1.247 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/1.035, allocations: 1.341 MB / 1.248 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/1.035, allocations: 37.7 kB / 1.248 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/1.035, allocations: 364.4 kB / 1.249 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/1.035, allocations: 98.66 kB / 1.249 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.035, allocations: 69.66 kB / 1.249 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.035, allocations: 321.9 kB / 1.249 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/1.036, allocations: 171.9 kB / 1.249 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/1.037, allocations: 225.9 kB / 1.249 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/1.038, allocations: 401.7 kB / 1.25 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.038, allocations: 3.938 kB / 1.25 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004071/1.042, allocations: 0.7055 MB / 1.25 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.042, allocations: 4 kB / 1.25 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.042, allocations: 7.938 kB / 1.25 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.043, allocations: 184.7 kB / 1.251 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.044, allocations: 55.91 kB / 1.251 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/1.052, allocations: 2.303 MB / 1.253 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/1.052, allocations: 43.88 kB / 1.253 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/1.052, allocations: 11.98 kB / 1.253 GB, free: 3.84 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004469/1.053, allocations: 297.7 kB / 1.253 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.053, allocations: 90.8 kB / 1.253 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/1.057, allocations: 0.7507 MB / 1.254 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.057, allocations: 4 kB / 1.254 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/1.057, allocations: 320 / 1.254 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.057, allocations: 11.98 kB / 1.254 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/1.058, allocations: 0.5702 MB / 1.255 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.058, allocations: 0 / 1.255 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/1.058, allocations: 51.91 kB / 1.255 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009708/1.059, allocations: 180.6 kB / 1.255 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/1.059, allocations: 11.98 kB / 1.255 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/1.067, allocations: 2.303 MB / 1.257 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.067, allocations: 4.062 kB / 1.257 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/1.071, allocations: 0.7542 MB / 1.258 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/1.071, allocations: 144 kB / 1.258 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.071, allocations: 11.94 kB / 1.258 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/1.072, allocations: 27.97 kB / 1.258 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/1.072, allocations: 23.97 kB / 1.258 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/1.072, allocations: 19.98 kB / 1.258 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001154/1.073, allocations: 0.9988 MB / 1.259 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.483e-06/1.073, allocations: 0 / 1.259 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005502/1.074, allocations: 115.9 kB / 1.259 GB, free: 13.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00528/1.079, allocations: 1.639 MB / 1.261 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.081, allocations: 0.5496 MB / 1.261 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.081, allocations: 0 / 1.261 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.082, allocations: 362.4 kB / 1.262 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/1.083, allocations: 117.2 kB / 1.262 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.097, allocations: 6.316 MB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/1.098, allocations: 0.9684 MB / 1.269 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003386/1.098, allocations: 78.88 kB / 1.269 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/1.099, allocations: 263.3 kB / 1.269 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.099, allocations: 4 kB / 1.269 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/1.141, allocations: 17.99 MB / 1.287 GB, free: 1.078 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.51, allocations: 13.08 kB / 1.287 GB, free: 1.07 MB / 1.014 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches