Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007894/0.0007894, 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.0007727/0.0007727, allocations: 170.3 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.892/0.892, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.732/1.732, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.24e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003798/0.00383, allocations: 2.148 MB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5706/0.5744, allocations: 132.4 MB / 1.112 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.5746, allocations: 2.031 kB / 1.112 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.5757, allocations: 0.788 MB / 1.113 GB, free: 22.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.5765, allocations: 0.5345 MB / 1.114 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.5773, allocations: 341.2 kB / 1.114 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006179/0.5779, allocations: 0.5949 MB / 1.114 GB, free: 21.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.5781, allocations: 60.48 kB / 1.115 GB, free: 21.54 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.5792, allocations: 431.9 kB / 1.115 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.5798, allocations: 0.502 MB / 1.115 GB, free: 21.36 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.5799, allocations: 24.94 kB / 1.115 GB, free: 21.36 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.5804, allocations: 286.6 kB / 1.116 GB, free: 21.29 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.5805, allocations: 198 kB / 1.116 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.5806, allocations: 136.2 kB / 1.116 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.5814, allocations: 0.7554 MB / 1.117 GB, free: 20.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5814, allocations: 4.875 kB / 1.117 GB, free: 20.85 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5814, allocations: 3.938 kB / 1.117 GB, free: 20.85 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.5815, allocations: 4 kB / 1.117 GB, free: 20.84 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.001173/0.5826, allocations: 1.034 MB / 1.118 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5827, allocations: 10.44 kB / 1.118 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.5827, allocations: 53.48 kB / 1.118 GB, free: 20.05 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/0.5836, allocations: 210.3 kB / 1.118 GB, free: 19.99 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.584, allocations: 430.9 kB / 1.118 GB, free: 19.68 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.584, allocations: 21.94 kB / 1.119 GB, free: 19.67 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.584, allocations: 16.86 kB / 1.119 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.5846, allocations: 339.1 kB / 1.119 GB, free: 19.53 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.5846, allocations: 5.031 kB / 1.119 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.5846, allocations: 6.312 kB / 1.119 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5846, allocations: 8.375 kB / 1.119 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.5853, allocations: 357.7 kB / 1.119 GB, free: 19.42 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.5866, allocations: 1.042 MB / 1.12 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.5873, allocations: 402.8 kB / 1.121 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.5877, allocations: 207 kB / 1.121 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.5877, allocations: 4.547 kB / 1.121 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.5882, allocations: 310.3 kB / 1.121 GB, free: 18.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.5882, allocations: 0 / 1.121 GB, free: 18.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.00449/0.5927, allocations: 1.173 MB / 1.122 GB, free: 18.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.5927, allocations: 85.31 kB / 1.122 GB, free: 18.02 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.5941, allocations: 1.386 MB / 1.124 GB, free: 17.55 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.5941, allocations: 32.91 kB / 1.124 GB, free: 17.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.5943, allocations: 377.9 kB / 1.124 GB, free: 17.22 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/0.5944, allocations: 103 kB / 1.124 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.5945, allocations: 69.47 kB / 1.124 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.432e-05/0.5945, allocations: 317.3 kB / 1.125 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.5949, allocations: 180.3 kB / 1.125 GB, free: 16.74 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.5952, allocations: 285.8 kB / 1.125 GB, free: 16.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.596, allocations: 410.8 kB / 1.125 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.596, allocations: 1.906 kB / 1.125 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002042/0.598, allocations: 0.7333 MB / 1.126 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.598, allocations: 10.59 kB / 1.126 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.598, allocations: 1.156 kB / 1.126 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.5986, allocations: 179.3 kB / 1.126 GB, free: 16.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.5988, allocations: 59.19 kB / 1.126 GB, free: 16.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.6029, allocations: 2.184 MB / 1.128 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.6032, allocations: 40.38 kB / 1.129 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.6032, allocations: 19.8 kB / 1.129 GB, free: 14.64 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.0004106/0.6036, allocations: 301.3 kB / 1.129 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.6037, allocations: 84.47 kB / 1.129 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.606, allocations: 0.8533 MB / 1.13 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.606, allocations: 4.469 kB / 1.13 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.606, allocations: 0.8438 kB / 1.13 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.606, allocations: 3.297 kB / 1.13 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.6065, allocations: 0.53 MB / 1.13 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6065, allocations: 1.094 kB / 1.13 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.6067, allocations: 64.48 kB / 1.13 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/0.6072, allocations: 182.2 kB / 1.131 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.6072, allocations: 21.03 kB / 1.131 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.611, allocations: 2.161 MB / 1.133 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.611, allocations: 1.094 kB / 1.133 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.6132, allocations: 0.808 MB / 1.133 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.6133, allocations: 86.81 kB / 1.134 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.6133, allocations: 12.03 kB / 1.134 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.6136, allocations: 25.95 kB / 1.134 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.6136, allocations: 30.62 kB / 1.134 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.6137, allocations: 20.42 kB / 1.134 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000953/0.6146, allocations: 1.034 MB / 1.135 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6146, allocations: 0 / 1.135 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004785/0.6151, allocations: 123.7 kB / 1.135 GB, free: 11.6 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.002955/0.6181, allocations: 1.702 MB / 1.136 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.6192, allocations: 0.557 MB / 1.137 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6192, allocations: 0.8438 kB / 1.137 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.6197, allocations: 366.6 kB / 1.137 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.6202, allocations: 130.7 kB / 1.137 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6303, allocations: 6.478 MB / 1.144 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.6309, allocations: 382.9 kB / 1.144 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003742/0.6312, allocations: 83.98 kB / 1.144 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.6315, allocations: 262.2 kB / 1.144 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of SimCode: time 1.623e-06/0.6315, allocations: 0 / 1.144 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/0.6763, allocations: 19.62 MB / 1.164 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.688, allocations: 12.22 kB / 1.164 GB, free: 2.844 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.780603465624154]