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.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.001289/0.001289, allocations: 103.4 kB / 16.45 MB, free: 6.445 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.001381/0.001381, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.694/2.694, allocations: 476.7 MB / 0.7611 GB, free: 15.75 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.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9068, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006151/0.913, allocations: 4.951 MB / 1.274 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1792/1.092, allocations: 151.1 MB / 1.421 GB, free: 4.059 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/1.093, allocations: 15.38 kB / 1.421 GB, free: 4.055 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008028/1.094, allocations: 190.8 kB / 1.421 GB, free: 3.887 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/1.096, allocations: 0.5524 MB / 1.422 GB, free: 3.473 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/1.099, allocations: 0.8289 MB / 1.423 GB, free: 2.844 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002228/1.101, allocations: 1.376 MB / 1.424 GB, free: 1.984 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009781/1.102, allocations: 414.7 kB / 1.424 GB, free: 1.684 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/1.103, allocations: 487.8 kB / 1.425 GB, free: 1.395 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/1.104, allocations: 0.4896 MB / 1.425 GB, free: 1.047 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003239/1.104, allocations: 114.4 kB / 1.425 GB, free: 1.047 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/1.105, allocations: 485.2 kB / 1.426 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003699/1.106, allocations: 294.3 kB / 1.426 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008092/1.106, allocations: 0.5517 MB / 1.427 GB, free: 232 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/1.109, allocations: 1.633 MB / 1.428 GB, free: 15.05 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.109, allocations: 1.188 kB / 1.428 GB, free: 15.05 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.332e-06/1.109, allocations: 0 / 1.428 GB, free: 15.05 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.651e-05/1.109, allocations: 0 / 1.428 GB, free: 15.05 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.002643/1.112, allocations: 1.459 MB / 1.43 GB, free: 13.89 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.112, allocations: 8.812 kB / 1.43 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/1.112, allocations: 131.7 kB / 1.43 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009519/1.113, allocations: 196.5 kB / 1.43 GB, free: 13.68 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/1.114, allocations: 0.7735 MB / 1.431 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/1.114, allocations: 59.53 kB / 1.431 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.114, allocations: 81.69 kB / 1.431 GB, free: 12.99 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/1.116, allocations: 0.9117 MB / 1.432 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.116, allocations: 5.312 kB / 1.432 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/1.116, allocations: 32.25 kB / 1.432 GB, free: 12.37 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/1.116, allocations: 20.62 kB / 1.432 GB, free: 12.37 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.118, allocations: 1.1 MB / 1.433 GB, free: 11.84 MB / 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.004132/1.122, allocations: 2.747 MB / 1.436 GB, free: 9.613 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/1.123, allocations: 0.7392 MB / 1.436 GB, free: 9.238 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/1.124, allocations: 270.7 kB / 1.437 GB, free: 9.027 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/1.124, allocations: 28.59 kB / 1.437 GB, free: 8.996 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008343/1.125, allocations: 495.1 kB / 1.437 GB, free: 8.496 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.074e-06/1.125, allocations: 0 / 1.437 GB, free: 8.496 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.00319/1.128, allocations: 1.176 MB / 1.438 GB, free: 7.293 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.128, allocations: 192.6 kB / 1.438 GB, free: 7.062 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/1.129, allocations: 0.6294 MB / 1.439 GB, free: 6.422 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/1.129, allocations: 41.7 kB / 1.439 GB, free: 6.375 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/1.129, allocations: 408.9 kB / 1.439 GB, free: 5.969 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/1.129, allocations: 265.8 kB / 1.44 GB, free: 5.707 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/1.13, allocations: 150.6 kB / 1.44 GB, free: 5.555 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.13, allocations: 386.7 kB / 1.44 GB, free: 5.168 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/1.13, allocations: 237.9 kB / 1.44 GB, free: 4.934 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/1.131, allocations: 371.3 kB / 1.441 GB, free: 4.543 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.132, allocations: 0.5846 MB / 1.441 GB, free: 3.945 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.132, allocations: 0 / 1.441 GB, free: 3.945 MB / 1.123 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001848/1.134, allocations: 0.7906 MB / 1.442 GB, free: 3.145 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.134, allocations: 10.19 kB / 1.442 GB, free: 3.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.134, allocations: 0 / 1.442 GB, free: 3.137 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/1.134, allocations: 88.83 kB / 1.442 GB, free: 3.047 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/1.135, allocations: 147.8 kB / 1.442 GB, free: 2.902 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.137, allocations: 1.633 MB / 1.444 GB, free: 1.125 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/1.138, allocations: 91.5 kB / 1.444 GB, free: 1.035 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/1.138, allocations: 31.98 kB / 1.444 GB, free: 1.004 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: 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.0004525/1.138, allocations: 272.8 kB / 1.444 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/1.139, allocations: 87.44 kB / 1.444 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/1.141, allocations: 1.042 MB / 1.445 GB, free: 15.58 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.141, allocations: 8 kB / 1.445 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.141, allocations: 7.938 kB / 1.445 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.141, allocations: 3.984 kB / 1.445 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/1.142, allocations: 0.8881 MB / 1.446 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.142, allocations: 0 / 1.446 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/1.143, allocations: 143.8 kB / 1.446 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/1.143, allocations: 68.78 kB / 1.447 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/1.143, allocations: 23.98 kB / 1.447 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/1.145, allocations: 1.674 MB / 1.448 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.145, allocations: 0 / 1.448 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/1.147, allocations: 0.9167 MB / 1.449 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/1.148, allocations: 276.2 kB / 1.449 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.148, allocations: 20 kB / 1.449 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/1.149, allocations: 63.92 kB / 1.449 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.149, allocations: 72.78 kB / 1.45 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/1.149, allocations: 35.97 kB / 1.45 GB, free: 11.16 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006161/1.149, allocations: 467 kB / 1.45 GB, free: 10.7 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.149, allocations: 0 / 1.45 GB, free: 10.7 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008825/1.15, allocations: 319.1 kB / 1.45 GB, free: 10.39 MB / 1.139 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.004166/1.155, allocations: 1.97 MB / 1.452 GB, free: 8.586 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001737/1.156, allocations: 0.7573 MB / 1.453 GB, free: 7.816 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.156, allocations: 0 / 1.453 GB, free: 7.816 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009042/1.157, allocations: 496.2 kB / 1.453 GB, free: 7.32 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/1.158, allocations: 296.2 kB / 1.454 GB, free: 7.051 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.169, allocations: 6.167 MB / 1.46 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/1.169, allocations: 1.023 MB / 1.461 GB, free: 15.72 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008484/1.17, allocations: 262.7 kB / 1.461 GB, free: 15.46 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/1.171, allocations: 391.3 kB / 1.461 GB, free: 15.07 MB / 1.154 GB Notification: Performance of SimCode: time 9.82e-07/1.171, allocations: 0 / 1.461 GB, free: 15.07 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05778/1.229, allocations: 21.58 MB / 1.482 GB, free: 9.734 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.6, allocations: 6.938 kB / 1.482 GB, free: 9.73 MB / 1.17 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_2/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: 20.659613060299307]