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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001584/0.001584, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5381, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002756/0.5409, allocations: 2.247 MB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.684, allocations: 148.3 MB / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.6842, allocations: 7.938 kB / 1.096 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.685, allocations: 0.7681 MB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.6856, allocations: 474.8 kB / 1.097 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.6863, allocations: 350.5 kB / 1.098 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.6868, allocations: 0.5459 MB / 1.098 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.6869, allocations: 90.89 kB / 1.098 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.6881, allocations: 328.4 kB / 1.098 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.6885, allocations: 463.7 kB / 1.099 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.6886, allocations: 16 kB / 1.099 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.6891, allocations: 295.5 kB / 1.099 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.6892, allocations: 175.7 kB / 1.099 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.6894, allocations: 253.9 kB / 1.1 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.6901, allocations: 0.7123 MB / 1.1 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6901, allocations: 0 / 1.1 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6901, allocations: 0 / 1.1 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.6901, allocations: 0 / 1.1 GB, free: 6.645 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.001401/0.6915, allocations: 1.072 MB / 1.101 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.6915, allocations: 8.031 kB / 1.101 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.6916, allocations: 58.55 kB / 1.101 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.6931, allocations: 194.8 kB / 1.102 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.6936, allocations: 490.6 kB / 1.102 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6937, allocations: 16.36 kB / 1.102 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.6937, allocations: 20 kB / 1.102 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.6946, allocations: 330.9 kB / 1.102 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6946, allocations: 7.922 kB / 1.102 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.6946, allocations: 12 kB / 1.102 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.6947, allocations: 4 kB / 1.102 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.6959, allocations: 340.7 kB / 1.103 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.6978, allocations: 1.109 MB / 1.104 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.6989, allocations: 393.4 kB / 1.104 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006512/0.6995, allocations: 201.6 kB / 1.104 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.6996, allocations: 19.91 kB / 1.104 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007892/0.7004, allocations: 312.7 kB / 1.105 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.7004, allocations: 4 kB / 1.105 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.008797/0.7092, allocations: 1.21 MB / 1.106 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.7093, allocations: 89.05 kB / 1.106 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.7104, allocations: 1.337 MB / 1.107 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.7104, allocations: 45.62 kB / 1.107 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.7107, allocations: 360.5 kB / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.7108, allocations: 98.64 kB / 1.108 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.7109, allocations: 65.67 kB / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.711, allocations: 325.9 kB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.7116, allocations: 171.9 kB / 1.108 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.7123, allocations: 241.7 kB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.7135, allocations: 390.1 kB / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7135, allocations: 0 / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003891/0.7174, allocations: 0.7096 MB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7174, allocations: 4 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7175, allocations: 4 kB / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.7185, allocations: 176.7 kB / 1.11 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.7188, allocations: 59.91 kB / 1.11 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/0.726, allocations: 2.122 MB / 1.112 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.7265, allocations: 36.05 kB / 1.112 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.7265, allocations: 24.05 kB / 1.112 GB, free: 10.2 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.0003124/0.7268, allocations: 294.2 kB / 1.112 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.7269, allocations: 78.97 kB / 1.112 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.731, allocations: 0.7442 MB / 1.113 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.731, allocations: 8 kB / 1.113 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.731, allocations: 0 / 1.113 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.731, allocations: 7.984 kB / 1.113 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.7316, allocations: 0.5739 MB / 1.114 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7316, allocations: 0 / 1.114 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.7318, allocations: 51.84 kB / 1.114 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009482/0.7328, allocations: 184.6 kB / 1.114 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.7328, allocations: 15.97 kB / 1.114 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006926/0.7398, allocations: 2.115 MB / 1.116 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7398, allocations: 0 / 1.116 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.7436, allocations: 0.7542 MB / 1.117 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.7437, allocations: 144 kB / 1.117 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.7438, allocations: 8 kB / 1.117 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.7442, allocations: 27.97 kB / 1.117 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.7443, allocations: 23.97 kB / 1.117 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.7443, allocations: 19.98 kB / 1.117 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008378/0.7451, allocations: 1.003 MB / 1.118 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7452, allocations: 0 / 1.118 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004033/0.7456, allocations: 115.9 kB / 1.118 GB, free: 3.805 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.004887/0.7505, allocations: 1.637 MB / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.752, allocations: 0.5492 MB / 1.12 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.752, allocations: 0 / 1.12 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/0.7529, allocations: 362.6 kB / 1.121 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.7535, allocations: 117.9 kB / 1.121 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.7669, allocations: 6.721 MB / 1.127 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.7674, allocations: 0.9684 MB / 1.128 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003103/0.7677, allocations: 95.09 kB / 1.128 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.768, allocations: 271.3 kB / 1.128 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of SimCode: time 2.6e-07/0.768, allocations: 0 / 1.128 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.053/1.821, allocations: 17.23 MB / 1.145 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/1.821, allocations: 276.4 kB / 1.146 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/3.959, allocations: 0 / 1.146 GB, free: 7.578 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