Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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.005126/0.005126, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001302/0.001302, allocations: 195.8 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.771/2.771, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 64.12 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2965, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003371/0.2999, allocations: 2.199 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8415/1.141, allocations: 150.5 MB / 1.369 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/1.142, allocations: 14.75 kB / 1.369 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.143, allocations: 0.7715 MB / 1.37 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008205/1.144, allocations: 499.5 kB / 1.37 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/1.145, allocations: 407.9 kB / 1.371 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008024/1.146, allocations: 0.5617 MB / 1.371 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/1.146, allocations: 81.23 kB / 1.371 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/1.147, allocations: 366.8 kB / 1.371 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/1.148, allocations: 479 kB / 1.372 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.832e-05/1.148, allocations: 23.59 kB / 1.372 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006522/1.149, allocations: 300.5 kB / 1.372 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/1.149, allocations: 184.7 kB / 1.372 GB, free: 12.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/1.149, allocations: 267.3 kB / 1.373 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009202/1.15, allocations: 0.745 MB / 1.373 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.15, allocations: 0.9062 kB / 1.373 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.266e-06/1.15, allocations: 0 / 1.373 GB, free: 12.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.388e-05/1.15, allocations: 3.938 kB / 1.373 GB, free: 12.3 MB / 1.076 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.001648/1.152, allocations: 1.105 MB / 1.374 GB, free: 11.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.152, allocations: 9.719 kB / 1.374 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/1.152, allocations: 51.03 kB / 1.375 GB, free: 11.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/1.153, allocations: 201.3 kB / 1.375 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/1.154, allocations: 0.494 MB / 1.375 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/1.154, allocations: 19.83 kB / 1.375 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/1.154, allocations: 21.03 kB / 1.375 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/1.155, allocations: 327.6 kB / 1.376 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.155, allocations: 0 / 1.376 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/1.155, allocations: 14.09 kB / 1.376 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/1.155, allocations: 4.406 kB / 1.376 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/1.157, allocations: 343.5 kB / 1.376 GB, free: 10.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/1.159, allocations: 1.11 MB / 1.377 GB, free: 9.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/1.16, allocations: 404 kB / 1.377 GB, free: 9.453 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/1.161, allocations: 205.3 kB / 1.378 GB, free: 9.344 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/1.161, allocations: 12.55 kB / 1.378 GB, free: 9.336 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008515/1.162, allocations: 310.5 kB / 1.378 GB, free: 9.121 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/1.162, allocations: 1.469 kB / 1.378 GB, free: 9.121 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.009151/1.171, allocations: 1.226 MB / 1.379 GB, free: 8.465 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.171, allocations: 79.67 kB / 1.379 GB, free: 8.371 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.173, allocations: 1.338 MB / 1.38 GB, free: 7.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/1.173, allocations: 36.42 kB / 1.381 GB, free: 7.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/1.173, allocations: 369.4 kB / 1.381 GB, free: 7.414 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.173, allocations: 105.5 kB / 1.381 GB, free: 7.324 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.173, allocations: 62.7 kB / 1.381 GB, free: 7.281 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.173, allocations: 316.4 kB / 1.381 GB, free: 6.969 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/1.174, allocations: 179 kB / 1.381 GB, free: 6.879 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/1.175, allocations: 227.8 kB / 1.382 GB, free: 6.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/1.176, allocations: 400.4 kB / 1.382 GB, free: 6.504 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.176, allocations: 1.375 kB / 1.382 GB, free: 6.504 MB / 1.076 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004144/1.18, allocations: 0.7125 MB / 1.383 GB, free: 6.133 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.18, allocations: 9.5 kB / 1.383 GB, free: 6.129 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.181, allocations: 5.094 kB / 1.383 GB, free: 6.125 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.182, allocations: 184.3 kB / 1.383 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/1.182, allocations: 57.66 kB / 1.383 GB, free: 6.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008202/1.19, allocations: 2.299 MB / 1.385 GB, free: 4.113 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/1.191, allocations: 45.73 kB / 1.385 GB, free: 4.086 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/1.191, allocations: 17.39 kB / 1.385 GB, free: 4.078 MB / 1.076 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.0007392/1.192, allocations: 297 kB / 1.386 GB, free: 3.891 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/1.192, allocations: 92.89 kB / 1.386 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/1.197, allocations: 0.7507 MB / 1.386 GB, free: 3.43 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.197, allocations: 7.375 kB / 1.386 GB, free: 3.426 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.197, allocations: 1.094 kB / 1.386 GB, free: 3.426 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.197, allocations: 0 / 1.386 GB, free: 3.426 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008571/1.198, allocations: 0.5729 MB / 1.387 GB, free: 2.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.198, allocations: 0.875 kB / 1.387 GB, free: 2.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/1.198, allocations: 53.12 kB / 1.387 GB, free: 2.965 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009883/1.199, allocations: 174.6 kB / 1.387 GB, free: 2.879 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/1.199, allocations: 12.45 kB / 1.387 GB, free: 2.871 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007794/1.207, allocations: 2.301 MB / 1.389 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.207, allocations: 5.469 kB / 1.389 GB, free: 0.957 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/1.211, allocations: 0.7709 MB / 1.39 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/1.212, allocations: 148.9 kB / 1.39 GB, free: 388 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/1.212, allocations: 10.59 kB / 1.39 GB, free: 380 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/1.212, allocations: 34.62 kB / 1.39 GB, free: 360 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.213, allocations: 23.25 kB / 1.39 GB, free: 348 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/1.213, allocations: 17.52 kB / 1.39 GB, free: 340 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001653/1.214, allocations: 0.999 MB / 1.391 GB, free: 15.87 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.51e-07/1.214, allocations: 0 / 1.391 GB, free: 15.87 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000709/1.215, allocations: 112.8 kB / 1.392 GB, free: 15.85 MB / 1.092 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.005577/1.221, allocations: 1.642 MB / 1.393 GB, free: 14.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002014/1.223, allocations: 0.5516 MB / 1.394 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.223, allocations: 0 / 1.394 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.224, allocations: 354.6 kB / 1.394 GB, free: 14.22 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/1.225, allocations: 134.7 kB / 1.394 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/1.241, allocations: 6.347 MB / 1.4 GB, free: 10.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/1.241, allocations: 0.9664 MB / 1.401 GB, free: 9.676 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003895/1.242, allocations: 94.81 kB / 1.401 GB, free: 9.629 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.242, allocations: 259.9 kB / 1.402 GB, free: 9.398 MB / 1.092 GB Notification: Performance of SimCode: time 9.22e-07/1.242, allocations: 0 / 1.402 GB, free: 9.398 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/1.287, allocations: 17.98 MB / 1.419 GB, free: 9.395 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/14.15, allocations: 15.98 kB / 1.419 GB, free: 9.379 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches