Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000779/0.000779, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008071/0.0008071, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.884/0.884, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.788/1.788, allocations: 389 MB / 0.6331 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.116e-06/9.388e-06, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002231/0.002241, allocations: 2.126 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5914/0.5936, allocations: 132.4 MB / 1.131 GB, free: 0.6953 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.5939, allocations: 6.219 kB / 1.131 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.5949, allocations: 0.7835 MB / 1.132 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00093/0.5959, allocations: 0.5355 MB / 1.132 GB, free: 488 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009513/0.5968, allocations: 345.5 kB / 1.133 GB, free: 308 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.5976, allocations: 0.5939 MB / 1.133 GB, free: 92 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.5978, allocations: 56.83 kB / 1.133 GB, free: 64 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.5991, allocations: 440.2 kB / 1.134 GB, free: 15.95 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.5997, allocations: 0.5017 MB / 1.134 GB, free: 15.89 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.5997, allocations: 25.25 kB / 1.134 GB, free: 15.89 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.6004, allocations: 285.9 kB / 1.134 GB, free: 15.82 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.6006, allocations: 203.2 kB / 1.135 GB, free: 15.72 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.6007, allocations: 132.5 kB / 1.135 GB, free: 15.66 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009712/0.6017, allocations: 0.759 MB / 1.136 GB, free: 15.38 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6017, allocations: 1.312 kB / 1.136 GB, free: 15.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6017, allocations: 4 kB / 1.136 GB, free: 15.37 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.6017, allocations: 0 / 1.136 GB, free: 15.37 MB / 1.01 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.001435/0.6031, allocations: 1.034 MB / 1.137 GB, free: 14.62 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.6032, allocations: 10.14 kB / 1.137 GB, free: 14.62 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.6032, allocations: 49 kB / 1.137 GB, free: 14.58 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6043, allocations: 229.2 kB / 1.137 GB, free: 14.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.6048, allocations: 437.3 kB / 1.137 GB, free: 14.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.6048, allocations: 13.25 kB / 1.137 GB, free: 14.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.6048, allocations: 20.97 kB / 1.137 GB, free: 14.19 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.6055, allocations: 343.1 kB / 1.138 GB, free: 14.05 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6055, allocations: 0 / 1.138 GB, free: 14.05 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.6055, allocations: 6.125 kB / 1.138 GB, free: 14.05 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.6056, allocations: 9.438 kB / 1.138 GB, free: 14.05 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008399/0.6064, allocations: 363.9 kB / 1.138 GB, free: 13.95 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.608, allocations: 1.048 MB / 1.139 GB, free: 13.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007855/0.6088, allocations: 410.8 kB / 1.139 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.6092, allocations: 198.9 kB / 1.14 GB, free: 13.09 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.6093, allocations: 8.406 kB / 1.14 GB, free: 13.08 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/0.6099, allocations: 319.1 kB / 1.14 GB, free: 12.95 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.6099, allocations: 4 kB / 1.14 GB, free: 12.95 MB / 1.01 GB Notification: Performance of matching and sorting (n=30): time 0.004722/0.6146, allocations: 1.173 MB / 1.141 GB, free: 12.63 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.6146, allocations: 88.81 kB / 1.141 GB, free: 12.53 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.6161, allocations: 1.384 MB / 1.142 GB, free: 12.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.6161, allocations: 37.38 kB / 1.142 GB, free: 12.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.6164, allocations: 373.1 kB / 1.143 GB, free: 11.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.6165, allocations: 100.5 kB / 1.143 GB, free: 11.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.6166, allocations: 68.89 kB / 1.143 GB, free: 11.62 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.6167, allocations: 317.8 kB / 1.143 GB, free: 11.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.6171, allocations: 181.5 kB / 1.143 GB, free: 11.25 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.6175, allocations: 290.9 kB / 1.144 GB, free: 11.08 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008312/0.6184, allocations: 415.9 kB / 1.144 GB, free: 10.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6184, allocations: 0 / 1.144 GB, free: 10.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002234/0.6206, allocations: 0.7465 MB / 1.145 GB, free: 10.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6206, allocations: 5.094 kB / 1.145 GB, free: 10.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.6206, allocations: 2.266 kB / 1.145 GB, free: 10.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/0.6213, allocations: 178.3 kB / 1.145 GB, free: 10.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.6215, allocations: 65.25 kB / 1.145 GB, free: 10.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.626, allocations: 2.168 MB / 1.147 GB, free: 9.172 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.6264, allocations: 44.05 kB / 1.147 GB, free: 9.152 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.6265, allocations: 18.22 kB / 1.147 GB, free: 9.148 MB / 1.01 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.000455/0.6269, allocations: 299.2 kB / 1.148 GB, free: 8.988 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.627, allocations: 96.8 kB / 1.148 GB, free: 8.934 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.6295, allocations: 0.8532 MB / 1.149 GB, free: 8.664 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6295, allocations: 4.344 kB / 1.149 GB, free: 8.664 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6295, allocations: 1.094 kB / 1.149 GB, free: 8.664 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6295, allocations: 6.344 kB / 1.149 GB, free: 8.66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.6301, allocations: 0.5163 MB / 1.149 GB, free: 8.371 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6301, allocations: 1.406 kB / 1.149 GB, free: 8.371 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.6303, allocations: 55.78 kB / 1.149 GB, free: 8.367 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/0.6308, allocations: 182 kB / 1.149 GB, free: 8.328 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.6309, allocations: 14.25 kB / 1.149 GB, free: 8.324 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/0.635, allocations: 2.181 MB / 1.151 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.635, allocations: 0.7812 kB / 1.151 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.6374, allocations: 0.7981 MB / 1.152 GB, free: 6.594 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.6375, allocations: 83.38 kB / 1.152 GB, free: 6.535 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.6376, allocations: 8.328 kB / 1.152 GB, free: 6.531 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.6378, allocations: 29.09 kB / 1.152 GB, free: 6.523 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.6379, allocations: 30.52 kB / 1.152 GB, free: 6.516 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.638, allocations: 20.44 kB / 1.152 GB, free: 6.512 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001212/0.6392, allocations: 1.034 MB / 1.153 GB, free: 6.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.6392, allocations: 0 / 1.153 GB, free: 6.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005176/0.6397, allocations: 114 kB / 1.153 GB, free: 6.145 MB / 1.01 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 (37): * Single equations (assignments): 32 * 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.003386/0.6431, allocations: 1.711 MB / 1.155 GB, free: 5.199 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.6443, allocations: 0.5567 MB / 1.156 GB, free: 4.965 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6443, allocations: 1.312 kB / 1.156 GB, free: 4.965 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.6449, allocations: 362.6 kB / 1.156 GB, free: 4.789 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.6455, allocations: 142.3 kB / 1.156 GB, free: 4.727 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6565, allocations: 6.491 MB / 1.162 GB, free: 1.879 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.6568, allocations: 380 kB / 1.163 GB, free: 1.766 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003494/0.6572, allocations: 84.41 kB / 1.163 GB, free: 1.738 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.6575, allocations: 274.6 kB / 1.163 GB, free: 1.527 MB / 1.01 GB Notification: Performance of SimCode: time 1.603e-06/0.6575, allocations: 4 kB / 1.163 GB, free: 1.523 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.7012, allocations: 19.52 MB / 1.182 GB, free: 11.16 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.375, allocations: 8.156 kB / 1.182 GB, free: 11.16 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.481734780594707]