Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001387/0.001387, allocations: 117.4 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.001336/0.001336, allocations: 214.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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001962/0.001962, allocations: 63.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9319/0.9338, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00764/0.9415, allocations: 5.002 MB / 1.284 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.198/1.139, allocations: 154 MB / 1.434 GB, free: 12.96 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/1.141, allocations: 23.81 kB / 1.434 GB, free: 12.94 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/1.142, allocations: 194.2 kB / 1.434 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/1.145, allocations: 0.5664 MB / 1.435 GB, free: 12.18 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/1.148, allocations: 0.8414 MB / 1.436 GB, free: 11.34 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002099/1.15, allocations: 1.397 MB / 1.437 GB, free: 9.941 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007794/1.151, allocations: 433.2 kB / 1.438 GB, free: 9.492 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000738/1.151, allocations: 0.4944 MB / 1.438 GB, free: 8.996 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/1.152, allocations: 0.4979 MB / 1.438 GB, free: 8.496 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/1.152, allocations: 116 kB / 1.439 GB, free: 8.383 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/1.153, allocations: 0.5035 MB / 1.439 GB, free: 7.879 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/1.154, allocations: 299 kB / 1.439 GB, free: 7.586 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005182/1.154, allocations: 0.5596 MB / 1.44 GB, free: 7.023 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/1.156, allocations: 1.681 MB / 1.442 GB, free: 5.336 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/1.156, allocations: 4 kB / 1.442 GB, free: 5.332 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.643e-06/1.156, allocations: 0 / 1.442 GB, free: 5.332 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.802e-05/1.156, allocations: 0 / 1.442 GB, free: 5.332 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002777/1.159, allocations: 1.498 MB / 1.443 GB, free: 3.781 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.159, allocations: 8.031 kB / 1.443 GB, free: 3.773 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.799e-05/1.159, allocations: 22.19 kB / 1.443 GB, free: 3.75 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/1.159, allocations: 131.3 kB / 1.443 GB, free: 3.613 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/1.161, allocations: 232 kB / 1.443 GB, free: 3.387 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.162, allocations: 0.7899 MB / 1.444 GB, free: 2.555 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/1.162, allocations: 62 kB / 1.444 GB, free: 2.496 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.163, allocations: 80 kB / 1.444 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.164, allocations: 0.9114 MB / 1.445 GB, free: 1.461 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.164, allocations: 7.969 kB / 1.445 GB, free: 1.453 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/1.164, allocations: 32 kB / 1.445 GB, free: 1.422 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/1.164, allocations: 20 kB / 1.445 GB, free: 1.402 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.166, allocations: 1.096 MB / 1.446 GB, free: 312 kB / 1.123 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.004385/1.171, allocations: 2.772 MB / 1.449 GB, free: 13.41 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.172, allocations: 0.7348 MB / 1.45 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/1.173, allocations: 274.7 kB / 1.45 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/1.173, allocations: 32.59 kB / 1.45 GB, free: 12.37 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/1.174, allocations: 484.8 kB / 1.451 GB, free: 11.88 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 3.016e-06/1.174, allocations: 4 kB / 1.451 GB, free: 11.88 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003431/1.177, allocations: 1.182 MB / 1.452 GB, free: 10.67 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.177, allocations: 188.6 kB / 1.452 GB, free: 10.44 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/1.178, allocations: 0.6607 MB / 1.453 GB, free: 9.777 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-05/1.178, allocations: 41.7 kB / 1.453 GB, free: 9.73 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/1.179, allocations: 408.9 kB / 1.453 GB, free: 9.324 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/1.179, allocations: 261.8 kB / 1.453 GB, free: 9.066 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/1.179, allocations: 150.5 kB / 1.453 GB, free: 8.914 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.179, allocations: 390.7 kB / 1.454 GB, free: 8.523 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/1.18, allocations: 241.9 kB / 1.454 GB, free: 8.285 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/1.18, allocations: 367.3 kB / 1.454 GB, free: 7.898 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.182, allocations: 0.5768 MB / 1.455 GB, free: 7.309 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.182, allocations: 0 / 1.455 GB, free: 7.309 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002034/1.184, allocations: 0.7945 MB / 1.456 GB, free: 6.504 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.184, allocations: 6.031 kB / 1.456 GB, free: 6.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.184, allocations: 4.125 kB / 1.456 GB, free: 6.496 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/1.184, allocations: 84.7 kB / 1.456 GB, free: 6.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/1.185, allocations: 155.8 kB / 1.456 GB, free: 6.258 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/1.187, allocations: 1.633 MB / 1.457 GB, free: 4.484 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/1.188, allocations: 83.72 kB / 1.458 GB, free: 4.402 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/1.188, allocations: 35.92 kB / 1.458 GB, free: 4.367 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0005101/1.189, allocations: 277.5 kB / 1.458 GB, free: 4.086 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/1.189, allocations: 87.44 kB / 1.458 GB, free: 4 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/1.191, allocations: 1.042 MB / 1.459 GB, free: 2.938 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.191, allocations: 11.94 kB / 1.459 GB, free: 2.926 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.191, allocations: 4 kB / 1.459 GB, free: 2.922 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.191, allocations: 3.984 kB / 1.459 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/1.193, allocations: 0.8998 MB / 1.46 GB, free: 1.969 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.193, allocations: 0 / 1.46 GB, free: 1.969 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/1.193, allocations: 139.8 kB / 1.46 GB, free: 1.832 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/1.194, allocations: 72.78 kB / 1.46 GB, free: 1.758 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/1.194, allocations: 23.97 kB / 1.46 GB, free: 1.734 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/1.196, allocations: 1.662 MB / 1.462 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.196, allocations: 3.938 kB / 1.462 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/1.198, allocations: 0.9128 MB / 1.463 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/1.198, allocations: 276.2 kB / 1.463 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.199, allocations: 27.94 kB / 1.463 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/1.199, allocations: 59.92 kB / 1.463 GB, free: 14.61 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/1.199, allocations: 80.78 kB / 1.463 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/1.199, allocations: 35.97 kB / 1.463 GB, free: 14.49 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006611/1.2, allocations: 475 kB / 1.463 GB, free: 14.04 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.2, allocations: 0 / 1.463 GB, free: 14.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008986/1.201, allocations: 327.1 kB / 1.464 GB, free: 13.71 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004145/1.205, allocations: 1.961 MB / 1.466 GB, free: 11.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001655/1.207, allocations: 0.7609 MB / 1.466 GB, free: 11.13 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.207, allocations: 256 / 1.466 GB, free: 11.13 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/1.208, allocations: 492.2 kB / 1.467 GB, free: 10.64 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.209, allocations: 309.2 kB / 1.467 GB, free: 10.36 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.219, allocations: 6.253 MB / 1.473 GB, free: 3.945 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/1.22, allocations: 1.031 MB / 1.474 GB, free: 2.891 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007902/1.221, allocations: 258.7 kB / 1.475 GB, free: 2.633 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/1.221, allocations: 399.3 kB / 1.475 GB, free: 2.242 MB / 1.154 GB Notification: Performance of SimCode: time 1.072e-06/1.221, allocations: 0 / 1.475 GB, free: 2.242 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05198/1.273, allocations: 21.89 MB / 1.496 GB, free: 12.61 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.86, allocations: 14.14 kB / 1.496 GB, free: 12.6 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 21.08442476496566]