Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001751/0.001751, 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.002051/0.002051, 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.843/2.843, allocations: 0.49 GB / 0.7923 GB, free: 1.461 MB / 0.6231 GB " [Timeout remaining time 176] 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.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002029/0.002029, allocations: 75.88 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8085, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005201/0.8137, allocations: 5.192 MB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.989, allocations: 154 MB / 1.477 GB, free: 4.117 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.9899, allocations: 25.09 kB / 1.477 GB, free: 4.105 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.9908, allocations: 206.2 kB / 1.477 GB, free: 3.922 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.9929, allocations: 0.5772 MB / 1.478 GB, free: 3.488 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.9953, allocations: 0.8587 MB / 1.479 GB, free: 2.84 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.9973, allocations: 1.443 MB / 1.48 GB, free: 1.941 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009003/0.9982, allocations: 443.6 kB / 1.48 GB, free: 1.613 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009341/0.9991, allocations: 0.5112 MB / 1.481 GB, free: 1.312 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009296/1, allocations: 0.5235 MB / 1.481 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/1, allocations: 119.6 kB / 1.482 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/1.002, allocations: 0.5182 MB / 1.482 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/1.002, allocations: 315.3 kB / 1.482 GB, free: 496 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008774/1.003, allocations: 0.5758 MB / 1.483 GB, free: 64 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/1.006, allocations: 1.713 MB / 1.485 GB, free: 14.83 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.006, allocations: 1.375 kB / 1.485 GB, free: 14.83 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.443e-06/1.006, allocations: 0 / 1.485 GB, free: 14.83 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.557e-05/1.006, allocations: 0 / 1.485 GB, free: 14.83 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00365/1.009, allocations: 1.535 MB / 1.486 GB, free: 13.62 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.009, allocations: 17.48 kB / 1.486 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.378e-05/1.009, allocations: 22.31 kB / 1.486 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002409/1.01, allocations: 138.3 kB / 1.486 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/1.011, allocations: 236.3 kB / 1.486 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/1.013, allocations: 0.7965 MB / 1.487 GB, free: 12.74 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/1.013, allocations: 65.97 kB / 1.487 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.013, allocations: 83.97 kB / 1.487 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.015, allocations: 0.9361 MB / 1.488 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.015, allocations: 1.281 kB / 1.488 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.015, allocations: 36.31 kB / 1.488 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/1.015, allocations: 25.23 kB / 1.488 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/1.017, allocations: 1.126 MB / 1.489 GB, free: 11.51 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.005024/1.022, allocations: 2.818 MB / 1.492 GB, free: 9.219 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/1.024, allocations: 0.7727 MB / 1.493 GB, free: 8.816 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/1.024, allocations: 283.2 kB / 1.493 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.295e-05/1.024, allocations: 31.67 kB / 1.493 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/1.025, allocations: 0.4923 MB / 1.494 GB, free: 8.332 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 4.238e-06/1.025, allocations: 3.938 kB / 1.494 GB, free: 8.328 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003566/1.029, allocations: 1.218 MB / 1.495 GB, free: 7.398 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/1.029, allocations: 188.6 kB / 1.495 GB, free: 7.172 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.03, allocations: 0.6685 MB / 1.496 GB, free: 6.496 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-05/1.03, allocations: 37.7 kB / 1.496 GB, free: 6.453 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/1.031, allocations: 425 kB / 1.496 GB, free: 6.031 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/1.031, allocations: 277.7 kB / 1.496 GB, free: 5.758 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/1.031, allocations: 150.6 kB / 1.497 GB, free: 5.605 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000215/1.032, allocations: 390.8 kB / 1.497 GB, free: 5.215 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/1.032, allocations: 245.9 kB / 1.497 GB, free: 4.973 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/1.033, allocations: 366.5 kB / 1.498 GB, free: 4.59 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/1.034, allocations: 0.5916 MB / 1.498 GB, free: 3.984 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.034, allocations: 0 / 1.498 GB, free: 3.984 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002114/1.036, allocations: 0.8258 MB / 1.499 GB, free: 3.148 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.036, allocations: 8 kB / 1.499 GB, free: 3.141 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.036, allocations: 0 / 1.499 GB, free: 3.141 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/1.037, allocations: 84.8 kB / 1.499 GB, free: 3.055 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/1.037, allocations: 159.8 kB / 1.499 GB, free: 2.898 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/1.04, allocations: 1.637 MB / 1.501 GB, free: 1.117 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/1.041, allocations: 87.56 kB / 1.501 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/1.041, allocations: 35.97 kB / 1.501 GB, free: 0.9961 MB / 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 (89): * Single equations (assignments): 88 * 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.0005589/1.041, allocations: 269.6 kB / 1.501 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/1.042, allocations: 95.44 kB / 1.501 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/1.044, allocations: 1.066 MB / 1.502 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.044, allocations: 8 kB / 1.502 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.044, allocations: 4 kB / 1.502 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.044, allocations: 7.969 kB / 1.502 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.046, allocations: 0.9076 MB / 1.503 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.046, allocations: 4 kB / 1.503 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/1.046, allocations: 155.7 kB / 1.503 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/1.047, allocations: 80.66 kB / 1.503 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/1.047, allocations: 23.98 kB / 1.503 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/1.049, allocations: 1.662 MB / 1.505 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.049, allocations: 0 / 1.505 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/1.052, allocations: 1.344 MB / 1.506 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/1.053, allocations: 288.1 kB / 1.507 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/1.053, allocations: 23.94 kB / 1.507 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007386/1.054, allocations: 67.98 kB / 1.507 GB, free: 10.74 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.054, allocations: 68.91 kB / 1.507 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/1.054, allocations: 35.97 kB / 1.507 GB, free: 10.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007637/1.055, allocations: 483 kB / 1.507 GB, free: 10.18 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.055, allocations: 0 / 1.507 GB, free: 10.18 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001083/1.056, allocations: 335.1 kB / 1.508 GB, free: 9.848 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 (93): * Single equations (assignments): 87 * 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.005638/1.061, allocations: 2.395 MB / 1.51 GB, free: 7.609 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001902/1.063, allocations: 0.7767 MB / 1.511 GB, free: 6.816 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/1.063, allocations: 0 / 1.511 GB, free: 6.816 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.064, allocations: 0.5001 MB / 1.511 GB, free: 6.305 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.066, allocations: 302.2 kB / 1.512 GB, free: 6.031 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.078, allocations: 6.455 MB / 1.518 GB, free: 15.42 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/1.079, allocations: 1.035 MB / 1.519 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009161/1.08, allocations: 266.9 kB / 1.519 GB, free: 14.09 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/1.08, allocations: 407.2 kB / 1.519 GB, free: 13.7 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/1.08, allocations: 0 / 1.519 GB, free: 13.7 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05679/1.137, allocations: 22.36 MB / 1.541 GB, free: 7.582 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.84, allocations: 9.578 kB / 1.541 GB, free: 7.574 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.50054941000417]