Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.89 kB / 1.059 GB, free: 1 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.258, allocations: 160.7 MB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003484/0.2615, allocations: 2.238 MB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6591/0.9206, allocations: 151.1 MB / 1.365 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.9209, allocations: 6.312 kB / 1.365 GB, free: 4.512 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.9219, allocations: 0.7792 MB / 1.366 GB, free: 4.434 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007728/0.9227, allocations: 495.9 kB / 1.366 GB, free: 4.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.9238, allocations: 406.4 kB / 1.367 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008446/0.9247, allocations: 0.5623 MB / 1.367 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.9249, allocations: 57.78 kB / 1.367 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.9263, allocations: 368.1 kB / 1.368 GB, free: 3.824 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000861/0.9272, allocations: 0.5264 MB / 1.368 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.514e-05/0.9273, allocations: 26.75 kB / 1.368 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006937/0.928, allocations: 305.5 kB / 1.369 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.9282, allocations: 186.2 kB / 1.369 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.9285, allocations: 263.9 kB / 1.369 GB, free: 3.379 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.9296, allocations: 0.7446 MB / 1.37 GB, free: 3.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9296, allocations: 4 kB / 1.37 GB, free: 3.062 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9296, allocations: 0 / 1.37 GB, free: 3.062 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.963e-05/0.9296, allocations: 0 / 1.37 GB, free: 3.062 MB / 1.045 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.002132/0.9317, allocations: 1.098 MB / 1.371 GB, free: 2.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.9318, allocations: 9.812 kB / 1.371 GB, free: 2.234 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.487e-05/0.9319, allocations: 61.53 kB / 1.371 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.9333, allocations: 197.1 kB / 1.371 GB, free: 2.121 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.934, allocations: 0.4949 MB / 1.372 GB, free: 1.734 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.934, allocations: 16.69 kB / 1.372 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.9341, allocations: 21.22 kB / 1.372 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008822/0.935, allocations: 330.7 kB / 1.372 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.935, allocations: 0 / 1.372 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.935, allocations: 16.7 kB / 1.372 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.935, allocations: 4.688 kB / 1.372 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.9362, allocations: 337 kB / 1.372 GB, free: 1.477 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.9383, allocations: 1.115 MB / 1.373 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.9394, allocations: 381.3 kB / 1.374 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.94, allocations: 189.5 kB / 1.374 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.94, allocations: 12.38 kB / 1.374 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007768/0.9408, allocations: 315.7 kB / 1.374 GB, free: 424 kB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.9408, allocations: 1.094 kB / 1.374 GB, free: 424 kB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.008141/0.949, allocations: 1.225 MB / 1.375 GB, free: 8 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.949, allocations: 88.09 kB / 1.376 GB, free: 15.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.9505, allocations: 1.344 MB / 1.377 GB, free: 15.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.9505, allocations: 33.02 kB / 1.377 GB, free: 15.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.9508, allocations: 368.7 kB / 1.377 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.9509, allocations: 97.14 kB / 1.377 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.9511, allocations: 71.22 kB / 1.377 GB, free: 14.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9512, allocations: 317.3 kB / 1.378 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.9518, allocations: 176.2 kB / 1.378 GB, free: 14.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.9524, allocations: 228.3 kB / 1.378 GB, free: 14.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.9536, allocations: 402.4 kB / 1.378 GB, free: 14.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9537, allocations: 0.9062 kB / 1.378 GB, free: 14.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003738/0.9574, allocations: 0.7174 MB / 1.379 GB, free: 13.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.9574, allocations: 5.656 kB / 1.379 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9574, allocations: 1.156 kB / 1.379 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009834/0.9584, allocations: 175.8 kB / 1.379 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.9587, allocations: 62.19 kB / 1.379 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007366/0.9661, allocations: 2.304 MB / 1.382 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.9666, allocations: 38.3 kB / 1.382 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.9667, allocations: 17.33 kB / 1.382 GB, free: 11.75 MB / 1.061 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.0004186/0.9671, allocations: 310.5 kB / 1.382 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.9672, allocations: 88.19 kB / 1.382 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.9713, allocations: 0.8083 MB / 1.383 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.9713, allocations: 4.469 kB / 1.383 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.9713, allocations: 3.938 kB / 1.383 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.9713, allocations: 9.016 kB / 1.383 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.972, allocations: 0.5622 MB / 1.383 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.972, allocations: 0 / 1.383 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.9723, allocations: 54 kB / 1.383 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009152/0.9732, allocations: 174.3 kB / 1.384 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.9732, allocations: 12.48 kB / 1.384 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007193/0.9804, allocations: 2.294 MB / 1.386 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9804, allocations: 4.969 kB / 1.386 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003851/0.9843, allocations: 0.7619 MB / 1.387 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.9845, allocations: 152.1 kB / 1.387 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/0.9845, allocations: 11.06 kB / 1.387 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.985, allocations: 27.06 kB / 1.387 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.985, allocations: 23 kB / 1.387 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.9851, allocations: 21.8 kB / 1.387 GB, free: 7.992 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001228/0.9863, allocations: 1.004 MB / 1.388 GB, free: 7.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9863, allocations: 0 / 1.388 GB, free: 7.527 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005506/0.9869, allocations: 116.3 kB / 1.388 GB, free: 7.504 MB / 1.061 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * 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.005432/0.9923, allocations: 1.645 MB / 1.39 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.994, allocations: 0.5288 MB / 1.39 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.994, allocations: 0 / 1.39 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009348/0.9949, allocations: 349.2 kB / 1.39 GB, free: 5.879 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.9956, allocations: 124.1 kB / 1.391 GB, free: 5.812 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.009, allocations: 6.348 MB / 1.397 GB, free: 2.184 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/1.01, allocations: 0.9641 MB / 1.398 GB, free: 1.359 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002896/1.01, allocations: 84.19 kB / 1.398 GB, free: 1.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/1.01, allocations: 267.6 kB / 1.398 GB, free: 1.086 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/1.01, allocations: 0 / 1.398 GB, free: 1.086 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04904/1.059, allocations: 18.15 MB / 1.416 GB, free: 2.562 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.74, allocations: 4 kB / 1.416 GB, free: 2.559 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.107438542996533]