Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007805/0.0007805, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008639/0.0008639, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9139/0.9139, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9504 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.745e-05, allocations: 9.172 kB / 0.9504 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00271/0.002738, allocations: 2.141 MB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5419/0.5446, allocations: 132.4 MB / 1.082 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.5448, allocations: 6.656 kB / 1.082 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.5454, allocations: 0.7776 MB / 1.083 GB, free: 39.81 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.5459, allocations: 0.5336 MB / 1.083 GB, free: 39.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.5465, allocations: 348.7 kB / 1.083 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000476/0.547, allocations: 0.5965 MB / 1.084 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.5471, allocations: 56.91 kB / 1.084 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.548, allocations: 431.6 kB / 1.084 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.5484, allocations: 0.5034 MB / 1.085 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.5484, allocations: 22.34 kB / 1.085 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.5488, allocations: 289.9 kB / 1.085 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.5489, allocations: 195.4 kB / 1.085 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.549, allocations: 136.1 kB / 1.086 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006175/0.5496, allocations: 0.7605 MB / 1.086 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5496, allocations: 4 kB / 1.086 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5496, allocations: 0 / 1.086 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.5497, allocations: 0 / 1.086 GB, free: 39.6 MB / 0.9948 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.000977/0.5506, allocations: 1.029 MB / 1.087 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5507, allocations: 7.969 kB / 1.087 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.5507, allocations: 54.95 kB / 1.087 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000829/0.5515, allocations: 215.9 kB / 1.088 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.5519, allocations: 437.3 kB / 1.088 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.5519, allocations: 16.09 kB / 1.088 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.552, allocations: 22.62 kB / 1.088 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.5525, allocations: 339.5 kB / 1.088 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5525, allocations: 1.203 kB / 1.088 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.5525, allocations: 6.031 kB / 1.088 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5525, allocations: 7.125 kB / 1.088 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.5531, allocations: 358.6 kB / 1.089 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.5543, allocations: 1.048 MB / 1.09 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.5549, allocations: 408 kB / 1.09 GB, free: 38 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.5552, allocations: 193 kB / 1.09 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.5553, allocations: 7.828 kB / 1.09 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.5557, allocations: 304.2 kB / 1.091 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.5557, allocations: 4 kB / 1.091 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.004188/0.5599, allocations: 1.173 MB / 1.092 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.5599, allocations: 83.7 kB / 1.092 GB, free: 37.67 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.561, allocations: 1.386 MB / 1.093 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.561, allocations: 40.31 kB / 1.093 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.5613, allocations: 370.5 kB / 1.094 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.5614, allocations: 101.2 kB / 1.094 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.5615, allocations: 67.97 kB / 1.094 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.253e-05/0.5615, allocations: 319.2 kB / 1.094 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.562, allocations: 179.5 kB / 1.094 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.5624, allocations: 287 kB / 1.095 GB, free: 36.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.5633, allocations: 404 kB / 1.095 GB, free: 36.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.5633, allocations: 7.969 kB / 1.095 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002336/0.5656, allocations: 0.7339 MB / 1.096 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5656, allocations: 4.656 kB / 1.096 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.5657, allocations: 2.344 kB / 1.096 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006359/0.5663, allocations: 182.4 kB / 1.096 GB, free: 36.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.5665, allocations: 60.47 kB / 1.096 GB, free: 36.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.5704, allocations: 2.184 MB / 1.098 GB, free: 35.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.5707, allocations: 37.02 kB / 1.098 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.5708, allocations: 23.14 kB / 1.098 GB, free: 35.05 MB / 0.9948 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.0003262/0.5711, allocations: 297.2 kB / 1.098 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.5712, allocations: 89.45 kB / 1.098 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.5734, allocations: 0.8474 MB / 1.099 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5734, allocations: 5.312 kB / 1.099 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5734, allocations: 3.984 kB / 1.099 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5734, allocations: 3.781 kB / 1.099 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.5738, allocations: 0.526 MB / 1.1 GB, free: 34.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5738, allocations: 1.75 kB / 1.1 GB, free: 34.28 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.574, allocations: 65.33 kB / 1.1 GB, free: 34.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.5745, allocations: 178.4 kB / 1.1 GB, free: 34.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.5745, allocations: 16.58 kB / 1.1 GB, free: 34.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.5782, allocations: 2.166 MB / 1.102 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5782, allocations: 1.875 kB / 1.102 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.5803, allocations: 0.8111 MB / 1.103 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.5803, allocations: 82.92 kB / 1.103 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.5804, allocations: 13.08 kB / 1.103 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.5806, allocations: 25.48 kB / 1.103 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.5806, allocations: 30.69 kB / 1.103 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.5807, allocations: 20.92 kB / 1.103 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007775/0.5815, allocations: 1.038 MB / 1.104 GB, free: 32.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5815, allocations: 0 / 1.104 GB, free: 32.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004142/0.5819, allocations: 119.6 kB / 1.104 GB, free: 32.04 MB / 0.9948 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 (38): * Single equations (assignments): 33 * 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.002837/0.5847, allocations: 1.702 MB / 1.106 GB, free: 31.12 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.5858, allocations: 0.5593 MB / 1.106 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5858, allocations: 0 / 1.106 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.5863, allocations: 363.3 kB / 1.107 GB, free: 30.71 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.5867, allocations: 131.4 kB / 1.107 GB, free: 30.65 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/0.5955, allocations: 6.485 MB / 1.113 GB, free: 27.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.5959, allocations: 381.3 kB / 1.114 GB, free: 27.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003/0.5962, allocations: 88.89 kB / 1.114 GB, free: 27.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.5965, allocations: 261.8 kB / 1.114 GB, free: 27.47 MB / 0.9948 GB Notification: Performance of SimCode: time 1.412e-06/0.5965, allocations: 4 kB / 1.114 GB, free: 27.47 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04197/0.6384, allocations: 19.61 MB / 1.133 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/9.07, allocations: 4.344 kB / 1.133 GB, free: 24.68 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.250588332302868]