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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9774/0.98, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003578/0.9836, allocations: 2.244 MB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1835/1.167, allocations: 151.1 MB / 1.421 GB, free: 6.027 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/1.167, allocations: 6.406 kB / 1.421 GB, free: 6.023 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/1.168, allocations: 0.7825 MB / 1.422 GB, free: 5.648 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000774/1.169, allocations: 494.6 kB / 1.422 GB, free: 5.387 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/1.17, allocations: 410.8 kB / 1.423 GB, free: 5.094 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006848/1.171, allocations: 0.5665 MB / 1.423 GB, free: 4.793 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/1.171, allocations: 52.16 kB / 1.423 GB, free: 4.766 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/1.172, allocations: 367.6 kB / 1.424 GB, free: 4.59 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006087/1.173, allocations: 0.5274 MB / 1.424 GB, free: 4.359 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/1.173, allocations: 27.84 kB / 1.424 GB, free: 4.355 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/1.174, allocations: 303.3 kB / 1.425 GB, free: 4.211 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/1.174, allocations: 185.7 kB / 1.425 GB, free: 4.102 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/1.174, allocations: 260.6 kB / 1.425 GB, free: 3.898 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009368/1.175, allocations: 0.7404 MB / 1.426 GB, free: 3.43 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.175, allocations: 0 / 1.426 GB, free: 3.43 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.183e-06/1.175, allocations: 0 / 1.426 GB, free: 3.43 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.869e-06/1.175, allocations: 1.031 kB / 1.426 GB, free: 3.43 MB / 1.107 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.001831/1.177, allocations: 1.114 MB / 1.427 GB, free: 2.5 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.177, allocations: 9.625 kB / 1.427 GB, free: 2.5 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.78e-05/1.177, allocations: 56.48 kB / 1.427 GB, free: 2.441 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/1.178, allocations: 196.9 kB / 1.427 GB, free: 2.352 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/1.179, allocations: 498.6 kB / 1.428 GB, free: 1.918 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/1.179, allocations: 16.28 kB / 1.428 GB, free: 1.91 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/1.179, allocations: 20.75 kB / 1.428 GB, free: 1.902 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/1.18, allocations: 335.7 kB / 1.428 GB, free: 1.676 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.18, allocations: 0 / 1.428 GB, free: 1.676 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/1.18, allocations: 13.41 kB / 1.428 GB, free: 1.664 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/1.18, allocations: 5.25 kB / 1.428 GB, free: 1.664 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/1.181, allocations: 339 kB / 1.428 GB, free: 1.504 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/1.184, allocations: 1.111 MB / 1.429 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.185, allocations: 382.9 kB / 1.43 GB, free: 412 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/1.185, allocations: 205.1 kB / 1.43 GB, free: 292 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/1.185, allocations: 12.58 kB / 1.43 GB, free: 284 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008694/1.186, allocations: 307.9 kB / 1.43 GB, free: 68 kB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 1.552e-06/1.186, allocations: 0 / 1.43 GB, free: 68 kB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.008972/1.195, allocations: 1.217 MB / 1.431 GB, free: 15.42 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.195, allocations: 84.36 kB / 1.431 GB, free: 15.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/1.197, allocations: 1.343 MB / 1.433 GB, free: 14.71 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/1.197, allocations: 36.83 kB / 1.433 GB, free: 14.68 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/1.197, allocations: 368.6 kB / 1.433 GB, free: 14.36 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.197, allocations: 104.9 kB / 1.433 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.198, allocations: 67.52 kB / 1.433 GB, free: 14.22 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.198, allocations: 320.4 kB / 1.434 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/1.198, allocations: 170.5 kB / 1.434 GB, free: 13.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/1.199, allocations: 227.6 kB / 1.434 GB, free: 13.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.2, allocations: 399.7 kB / 1.434 GB, free: 13.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.2, allocations: 5.031 kB / 1.434 GB, free: 13.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003976/1.204, allocations: 0.714 MB / 1.435 GB, free: 12.87 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.204, allocations: 8 kB / 1.435 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.204, allocations: 0 / 1.435 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.205, allocations: 176.7 kB / 1.435 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/1.206, allocations: 63.89 kB / 1.435 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/1.213, allocations: 2.302 MB / 1.438 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/1.214, allocations: 51.67 kB / 1.438 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/1.214, allocations: 15.98 kB / 1.438 GB, free: 10.12 MB / 1.123 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.0003932/1.214, allocations: 297.7 kB / 1.438 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.215, allocations: 91.38 kB / 1.438 GB, free: 9.727 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/1.219, allocations: 0.806 MB / 1.439 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.219, allocations: 4 kB / 1.439 GB, free: 8.902 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.219, allocations: 3.984 kB / 1.439 GB, free: 8.898 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.219, allocations: 0 / 1.439 GB, free: 8.898 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/1.219, allocations: 0.5777 MB / 1.439 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.219, allocations: 0 / 1.439 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/1.22, allocations: 56.03 kB / 1.439 GB, free: 8.215 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009591/1.221, allocations: 180.6 kB / 1.44 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/1.221, allocations: 19.97 kB / 1.44 GB, free: 8.016 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007488/1.228, allocations: 2.3 MB / 1.442 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.228, allocations: 0 / 1.442 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/1.232, allocations: 0.7591 MB / 1.443 GB, free: 4.793 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/1.232, allocations: 152.5 kB / 1.443 GB, free: 4.625 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/1.232, allocations: 7.938 kB / 1.443 GB, free: 4.617 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/1.233, allocations: 27.97 kB / 1.443 GB, free: 4.59 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/1.233, allocations: 23.97 kB / 1.443 GB, free: 4.566 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/1.233, allocations: 19.97 kB / 1.443 GB, free: 4.547 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001162/1.234, allocations: 1.003 MB / 1.444 GB, free: 3.547 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.234, allocations: 0 / 1.444 GB, free: 3.547 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005261/1.235, allocations: 119.8 kB / 1.444 GB, free: 3.43 MB / 1.123 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 (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.00577/1.24, allocations: 1.64 MB / 1.446 GB, free: 1.926 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001812/1.242, allocations: 0.5218 MB / 1.446 GB, free: 1.391 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.242, allocations: 4.062 kB / 1.446 GB, free: 1.387 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/1.243, allocations: 346.4 kB / 1.446 GB, free: 1.035 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/1.244, allocations: 123.7 kB / 1.447 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.259, allocations: 6.341 MB / 1.453 GB, free: 10.41 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/1.259, allocations: 0.9684 MB / 1.454 GB, free: 9.418 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003355/1.26, allocations: 86.92 kB / 1.454 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/1.26, allocations: 263.3 kB / 1.454 GB, free: 9.074 MB / 1.139 GB Notification: Performance of SimCode: time 1.282e-06/1.26, allocations: 0 / 1.454 GB, free: 9.074 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/1.31, allocations: 18.15 MB / 1.472 GB, free: 7.047 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.48, allocations: 12.42 kB / 1.472 GB, free: 7.039 MB / 1.154 GB " [Timeout remaining time 285] (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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.438893446000293]