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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004554/0.004554, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.00139/0.00139, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.402/2.402, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6999, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003595/0.7035, allocations: 2.207 MB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.8718, allocations: 150.6 MB / 1.369 GB, free: 8.703 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.872, allocations: 4 kB / 1.369 GB, free: 8.699 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009822/0.873, allocations: 0.7757 MB / 1.37 GB, free: 7.922 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.8737, allocations: 498.6 kB / 1.371 GB, free: 7.434 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009453/0.8747, allocations: 406.5 kB / 1.371 GB, free: 7.039 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.8753, allocations: 0.5694 MB / 1.371 GB, free: 6.469 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.8755, allocations: 87.09 kB / 1.372 GB, free: 6.387 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.8767, allocations: 348.7 kB / 1.372 GB, free: 6.055 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.8773, allocations: 479.7 kB / 1.372 GB, free: 5.586 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.8773, allocations: 24 kB / 1.372 GB, free: 5.562 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.8779, allocations: 295.6 kB / 1.373 GB, free: 5.273 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.8781, allocations: 183.7 kB / 1.373 GB, free: 5.094 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.8783, allocations: 269.9 kB / 1.373 GB, free: 4.828 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.8793, allocations: 0.7385 MB / 1.374 GB, free: 4.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8793, allocations: 8 kB / 1.374 GB, free: 4.082 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8793, allocations: 0 / 1.374 GB, free: 4.082 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.8793, allocations: 3.984 kB / 1.374 GB, free: 4.078 MB / 1.092 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.001614/0.8809, allocations: 1.103 MB / 1.375 GB, free: 2.922 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.881, allocations: 8.031 kB / 1.375 GB, free: 2.914 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.881, allocations: 50.55 kB / 1.375 GB, free: 2.855 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.8825, allocations: 199.3 kB / 1.375 GB, free: 2.66 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.8831, allocations: 0.4956 MB / 1.376 GB, free: 2.121 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.8832, allocations: 16.38 kB / 1.376 GB, free: 2.105 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.8832, allocations: 19.98 kB / 1.376 GB, free: 2.086 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.8841, allocations: 342.8 kB / 1.376 GB, free: 1.734 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8841, allocations: 3.938 kB / 1.376 GB, free: 1.73 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.8842, allocations: 8 kB / 1.376 GB, free: 1.723 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8842, allocations: 4 kB / 1.376 GB, free: 1.719 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.8855, allocations: 340.7 kB / 1.376 GB, free: 1.387 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.8875, allocations: 1.113 MB / 1.377 GB, free: 220 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.8887, allocations: 411.1 kB / 1.378 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.8894, allocations: 205.5 kB / 1.378 GB, free: 15.59 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.8894, allocations: 19.86 kB / 1.378 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008339/0.8903, allocations: 305.3 kB / 1.378 GB, free: 15.25 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 3.747e-06/0.8903, allocations: 0 / 1.378 GB, free: 15.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.008659/0.899, allocations: 1.228 MB / 1.38 GB, free: 14 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.899, allocations: 81.11 kB / 1.38 GB, free: 13.9 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.9004, allocations: 1.341 MB / 1.381 GB, free: 12.55 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.9005, allocations: 33.7 kB / 1.381 GB, free: 12.51 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.9008, allocations: 364.5 kB / 1.381 GB, free: 12.15 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/0.9009, allocations: 107.1 kB / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.901, allocations: 65.67 kB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9012, allocations: 317.9 kB / 1.382 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.9018, allocations: 176.1 kB / 1.382 GB, free: 11.49 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.9025, allocations: 223.7 kB / 1.382 GB, free: 11.25 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.9038, allocations: 405.1 kB / 1.383 GB, free: 10.84 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9038, allocations: 0 / 1.383 GB, free: 10.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003892/0.9077, allocations: 0.7178 MB / 1.383 GB, free: 10.11 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9078, allocations: 4 kB / 1.383 GB, free: 10.11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9078, allocations: 0 / 1.383 GB, free: 10.11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.9088, allocations: 180.7 kB / 1.383 GB, free: 9.93 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.9091, allocations: 63.89 kB / 1.383 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.9167, allocations: 2.304 MB / 1.386 GB, free: 7.426 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.9173, allocations: 43.86 kB / 1.386 GB, free: 7.383 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.9173, allocations: 15.98 kB / 1.386 GB, free: 7.367 MB / 1.107 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.0003631/0.9177, allocations: 293.7 kB / 1.386 GB, free: 7.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.9178, allocations: 95.27 kB / 1.386 GB, free: 6.977 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.9218, allocations: 0.7506 MB / 1.387 GB, free: 6.215 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.9218, allocations: 4 kB / 1.387 GB, free: 6.211 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.9219, allocations: 4 kB / 1.387 GB, free: 6.207 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.9219, allocations: 0 / 1.387 GB, free: 6.207 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.9225, allocations: 0.5665 MB / 1.387 GB, free: 5.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9225, allocations: 0 / 1.387 GB, free: 5.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.9228, allocations: 55.97 kB / 1.387 GB, free: 5.535 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000951/0.9238, allocations: 172.7 kB / 1.388 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.9238, allocations: 19.91 kB / 1.388 GB, free: 5.344 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007535/0.9313, allocations: 2.307 MB / 1.39 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.9314, allocations: 0 / 1.39 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.9354, allocations: 0.7555 MB / 1.391 GB, free: 2.113 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.9355, allocations: 152.5 kB / 1.391 GB, free: 1.945 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.9356, allocations: 11.94 kB / 1.391 GB, free: 1.934 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.936, allocations: 27.97 kB / 1.391 GB, free: 1.906 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.9361, allocations: 31.89 kB / 1.391 GB, free: 1.875 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.9361, allocations: 19.98 kB / 1.391 GB, free: 1.855 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001052/0.9372, allocations: 0.9949 MB / 1.392 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9372, allocations: 4 kB / 1.392 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000478/0.9377, allocations: 111.9 kB / 1.392 GB, free: 0.75 MB / 1.107 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.005624/0.9433, allocations: 1.65 MB / 1.394 GB, free: 15.23 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.9451, allocations: 0.553 MB / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9451, allocations: 0 / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009392/0.946, allocations: 362.4 kB / 1.394 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.9467, allocations: 121.5 kB / 1.395 GB, free: 14.18 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.9607, allocations: 6.338 MB / 1.401 GB, free: 7.676 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.9613, allocations: 0.9684 MB / 1.402 GB, free: 6.68 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.9616, allocations: 82.91 kB / 1.402 GB, free: 6.598 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.962, allocations: 271.3 kB / 1.402 GB, free: 6.332 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/0.962, allocations: 0 / 1.402 GB, free: 6.332 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.056/2.018, allocations: 17.98 MB / 1.42 GB, free: 4.551 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.48/19.5, allocations: 6.969 kB / 1.42 GB, free: 4.547 MB / 1.139 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches