Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001777/0.001777, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002185/0.002185, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.438/1.438, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.794/2.794, allocations: 0.49 GB / 0.7923 GB, free: 1.418 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8502, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00552/0.8557, allocations: 5.311 MB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1777/1.033, allocations: 154 MB / 1.477 GB, free: 3.992 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.034, allocations: 25.19 kB / 1.477 GB, free: 3.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/1.035, allocations: 210.4 kB / 1.477 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002222/1.037, allocations: 0.591 MB / 1.478 GB, free: 3.348 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/1.04, allocations: 0.8571 MB / 1.479 GB, free: 2.699 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002127/1.042, allocations: 1.48 MB / 1.48 GB, free: 1.773 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/1.043, allocations: 448.2 kB / 1.481 GB, free: 1.445 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009408/1.044, allocations: 0.52 MB / 1.481 GB, free: 1.141 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/1.045, allocations: 0.5418 MB / 1.482 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/1.045, allocations: 122.1 kB / 1.482 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/1.046, allocations: 0.513 MB / 1.482 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/1.046, allocations: 312.1 kB / 1.483 GB, free: 316 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00065/1.047, allocations: 0.599 MB / 1.483 GB, free: 15.86 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/1.049, allocations: 1.739 MB / 1.485 GB, free: 14.62 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.049, allocations: 5.281 kB / 1.485 GB, free: 14.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/1.049, allocations: 4 kB / 1.485 GB, free: 14.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.982e-05/1.049, allocations: 0 / 1.485 GB, free: 14.61 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003201/1.053, allocations: 1.557 MB / 1.486 GB, free: 13.39 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.053, allocations: 18.27 kB / 1.486 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.668e-05/1.053, allocations: 23.19 kB / 1.486 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/1.053, allocations: 137.8 kB / 1.487 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/1.055, allocations: 238.9 kB / 1.487 GB, free: 13.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.056, allocations: 0.8021 MB / 1.488 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/1.056, allocations: 70.09 kB / 1.488 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.056, allocations: 85.09 kB / 1.488 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/1.058, allocations: 0.9524 MB / 1.489 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.058, allocations: 1.062 kB / 1.489 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/1.058, allocations: 37.09 kB / 1.489 GB, free: 11.8 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/1.058, allocations: 22 kB / 1.489 GB, free: 11.8 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/1.06, allocations: 1.133 MB / 1.49 GB, free: 11.27 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004793/1.065, allocations: 2.875 MB / 1.493 GB, free: 8.934 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.067, allocations: 0.7997 MB / 1.493 GB, free: 8.516 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/1.067, allocations: 298.6 kB / 1.494 GB, free: 8.363 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/1.067, allocations: 36.08 kB / 1.494 GB, free: 8.344 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009615/1.068, allocations: 0.5082 MB / 1.494 GB, free: 8.016 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.845e-06/1.068, allocations: 0 / 1.494 GB, free: 8.016 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003656/1.072, allocations: 1.256 MB / 1.495 GB, free: 6.879 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.072, allocations: 200.9 kB / 1.496 GB, free: 6.641 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/1.073, allocations: 0.6724 MB / 1.496 GB, free: 5.961 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/1.073, allocations: 41.7 kB / 1.496 GB, free: 5.914 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/1.073, allocations: 433 kB / 1.497 GB, free: 5.484 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/1.074, allocations: 285.6 kB / 1.497 GB, free: 5.203 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/1.074, allocations: 154.6 kB / 1.497 GB, free: 5.047 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.074, allocations: 390.7 kB / 1.498 GB, free: 4.656 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/1.075, allocations: 261.9 kB / 1.498 GB, free: 4.398 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/1.075, allocations: 362.6 kB / 1.498 GB, free: 4.016 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.077, allocations: 0.6125 MB / 1.499 GB, free: 3.391 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.077, allocations: 4.062 kB / 1.499 GB, free: 3.387 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002119/1.079, allocations: 0.8413 MB / 1.5 GB, free: 2.539 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.079, allocations: 8 kB / 1.5 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.079, allocations: 4.094 kB / 1.5 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/1.079, allocations: 80.77 kB / 1.5 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/1.08, allocations: 167.8 kB / 1.5 GB, free: 2.281 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.082, allocations: 1.627 MB / 1.501 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009024/1.083, allocations: 95.48 kB / 1.501 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/1.083, allocations: 31.98 kB / 1.501 GB, free: 392 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005284/1.084, allocations: 269.6 kB / 1.502 GB, free: 112 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/1.084, allocations: 95.39 kB / 1.502 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/1.087, allocations: 1.098 MB / 1.503 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.087, allocations: 8 kB / 1.503 GB, free: 14.9 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.087, allocations: 4 kB / 1.503 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.087, allocations: 3.984 kB / 1.503 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.088, allocations: 0.9465 MB / 1.504 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.088, allocations: 4 kB / 1.504 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/1.089, allocations: 159.8 kB / 1.504 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/1.089, allocations: 80.72 kB / 1.504 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/1.089, allocations: 23.98 kB / 1.504 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/1.091, allocations: 1.65 MB / 1.506 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.091, allocations: 3.938 kB / 1.506 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/1.094, allocations: 1.371 MB / 1.507 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/1.095, allocations: 288.1 kB / 1.507 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.095, allocations: 24 kB / 1.507 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/1.096, allocations: 67.98 kB / 1.507 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.096, allocations: 64.91 kB / 1.507 GB, free: 9.977 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/1.096, allocations: 39.97 kB / 1.508 GB, free: 9.938 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006775/1.097, allocations: 491 kB / 1.508 GB, free: 9.465 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.097, allocations: 0 / 1.508 GB, free: 9.465 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009734/1.098, allocations: 339.1 kB / 1.508 GB, free: 9.133 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005113/1.103, allocations: 2.426 MB / 1.511 GB, free: 6.855 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.105, allocations: 0.7923 MB / 1.511 GB, free: 6.051 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.105, allocations: 7.938 kB / 1.511 GB, free: 6.043 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.106, allocations: 0.5002 MB / 1.512 GB, free: 5.535 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.107, allocations: 311.2 kB / 1.512 GB, free: 5.242 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.119, allocations: 6.602 MB / 1.519 GB, free: 14.49 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/1.12, allocations: 1.052 MB / 1.52 GB, free: 13.41 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009026/1.12, allocations: 263.1 kB / 1.52 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006167/1.121, allocations: 407.3 kB / 1.52 GB, free: 12.75 MB / 1.201 GB Notification: Performance of SimCode: time 6.81e-07/1.121, allocations: 0 / 1.52 GB, free: 12.75 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/1.181, allocations: 22.7 MB / 1.543 GB, free: 6.316 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.22, allocations: 22.98 kB / 1.543 GB, free: 6.301 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: 22.599803951976355]