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.001071/0.001071, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001266/0.001266, allocations: 191.6 kB / 16.25 MB, free: 6.633 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.124/2.124, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 72.08 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4739, allocations: 140.4 MB / 0.9492 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002705/0.4766, allocations: 2.239 MB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.13/0.6066, allocations: 148.4 MB / 1.096 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.6068, allocations: 0 / 1.096 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.6076, allocations: 0.768 MB / 1.097 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.6083, allocations: 486.8 kB / 1.098 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.6092, allocations: 358.5 kB / 1.098 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005582/0.6098, allocations: 0.5655 MB / 1.098 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.6099, allocations: 82.95 kB / 1.098 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.6112, allocations: 363.9 kB / 1.099 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.6117, allocations: 495.8 kB / 1.099 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.6118, allocations: 20 kB / 1.099 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.6123, allocations: 299.6 kB / 1.1 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.6124, allocations: 195.6 kB / 1.1 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.6126, allocations: 265.9 kB / 1.1 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.6133, allocations: 0.7241 MB / 1.101 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6134, allocations: 7.875 kB / 1.101 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6134, allocations: 0 / 1.101 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6134, allocations: 4 kB / 1.101 GB, free: 6.418 MB / 0.8575 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.00143/0.6148, allocations: 1.073 MB / 1.102 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6149, allocations: 15.97 kB / 1.102 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.6149, allocations: 46.55 kB / 1.102 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.6165, allocations: 198.8 kB / 1.102 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.617, allocations: 486.7 kB / 1.103 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.617, allocations: 20.36 kB / 1.103 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.6171, allocations: 19.98 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008772/0.6179, allocations: 338.9 kB / 1.103 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.618, allocations: 0 / 1.103 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.618, allocations: 12 kB / 1.103 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.618, allocations: 4 kB / 1.103 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.6193, allocations: 336.6 kB / 1.103 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.6212, allocations: 1.109 MB / 1.104 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.6223, allocations: 413.3 kB / 1.105 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.623, allocations: 205.6 kB / 1.105 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.623, allocations: 11.92 kB / 1.105 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007923/0.6238, allocations: 300.8 kB / 1.105 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.674e-06/0.6238, allocations: 0 / 1.105 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.009276/0.6331, allocations: 1.218 MB / 1.106 GB, free: 424 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.6332, allocations: 85.05 kB / 1.106 GB, free: 320 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.6344, allocations: 1.341 MB / 1.108 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.6344, allocations: 33.7 kB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.6347, allocations: 364.4 kB / 1.108 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.6348, allocations: 98.56 kB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.6349, allocations: 69.67 kB / 1.108 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.635, allocations: 321.9 kB / 1.109 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.6356, allocations: 171.9 kB / 1.109 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.6363, allocations: 225.7 kB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.6376, allocations: 398 kB / 1.109 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6376, allocations: 0 / 1.109 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004096/0.6417, allocations: 0.7126 MB / 1.11 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6417, allocations: 4 kB / 1.11 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6417, allocations: 64 / 1.11 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.6427, allocations: 188.7 kB / 1.11 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.6431, allocations: 59.91 kB / 1.11 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007622/0.6507, allocations: 2.307 MB / 1.113 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.6512, allocations: 43.78 kB / 1.113 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.6512, allocations: 15.98 kB / 1.113 GB, free: 9.777 MB / 0.8731 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.0002879/0.6515, allocations: 295.5 kB / 1.113 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.6516, allocations: 82.91 kB / 1.113 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.6558, allocations: 0.7522 MB / 1.114 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6558, allocations: 8 kB / 1.114 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.6558, allocations: 0 / 1.114 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6559, allocations: 0 / 1.114 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.6564, allocations: 0.5816 MB / 1.114 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.6564, allocations: 0 / 1.114 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.6567, allocations: 51.91 kB / 1.114 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009812/0.6577, allocations: 172.7 kB / 1.115 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.6577, allocations: 15.97 kB / 1.115 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00755/0.6653, allocations: 2.303 MB / 1.117 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6653, allocations: 0 / 1.117 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/0.6693, allocations: 0.7513 MB / 1.118 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.6694, allocations: 148 kB / 1.118 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.6695, allocations: 15.88 kB / 1.118 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.6699, allocations: 27.97 kB / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.67, allocations: 23.97 kB / 1.118 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.67, allocations: 19.98 kB / 1.118 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008415/0.6709, allocations: 1.003 MB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.6709, allocations: 0 / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000418/0.6713, allocations: 107.9 kB / 1.119 GB, free: 3.191 MB / 0.8731 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.005081/0.6764, allocations: 1.636 MB / 1.12 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.6781, allocations: 0.577 MB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6781, allocations: 0 / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009159/0.679, allocations: 362.7 kB / 1.121 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.6797, allocations: 117 kB / 1.121 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.6936, allocations: 6.73 MB / 1.128 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.694, allocations: 0.9723 MB / 1.129 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003325/0.6944, allocations: 90.83 kB / 1.129 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.6947, allocations: 267.3 kB / 1.129 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of SimCode: time 3.5e-07/0.6947, allocations: 0 / 1.129 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.7265, allocations: 17.59 MB / 1.146 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.7268, allocations: 280.4 kB / 1.147 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.621, allocations: 7.438 kB / 1.147 GB, free: 6.574 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 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.mat","/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