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.001218/0.001218, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001632/0.001632, allocations: 214.9 kB / 22.25 MB, free: 5.105 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.82 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 3.018/3.018, allocations: 0.49 GB / 0.7951 GB, free: 35.38 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.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",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.002039/0.002039, allocations: 67.89 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006901/0.3359, allocations: 4.675 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.4942, allocations: 132.7 MB / 1.46 GB, free: 7.574 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.495, allocations: 23.81 kB / 1.46 GB, free: 7.551 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.4958, allocations: 210.1 kB / 1.46 GB, free: 7.344 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.4978, allocations: 0.582 MB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.5, allocations: 0.865 MB / 1.462 GB, free: 5.902 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.5019, allocations: 1.44 MB / 1.463 GB, free: 4.457 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008888/0.5028, allocations: 430.3 kB / 1.463 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008446/0.5036, allocations: 0.5139 MB / 1.464 GB, free: 3.496 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.5044, allocations: 0.529 MB / 1.464 GB, free: 2.965 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.5046, allocations: 120 kB / 1.465 GB, free: 2.848 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.5057, allocations: 0.4918 MB / 1.465 GB, free: 2.355 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.5061, allocations: 311 kB / 1.465 GB, free: 2.051 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006169/0.5067, allocations: 485.7 kB / 1.466 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.5093, allocations: 1.724 MB / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.5093, allocations: 0 / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5093, allocations: 0 / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.256e-05/0.5093, allocations: 0 / 1.468 GB, free: 15.84 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.003224/0.5126, allocations: 1.455 MB / 1.469 GB, free: 14.35 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5126, allocations: 8.031 kB / 1.469 GB, free: 14.34 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.5128, allocations: 139.6 kB / 1.469 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5143, allocations: 239.9 kB / 1.469 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.5159, allocations: 0.7257 MB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.516, allocations: 66 kB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.5161, allocations: 84 kB / 1.47 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.518, allocations: 1.189 MB / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.5181, allocations: 0 / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5182, allocations: 36 kB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.5182, allocations: 20 kB / 1.471 GB, free: 11.72 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5201, allocations: 1.081 MB / 1.472 GB, free: 10.63 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.004577/0.5247, allocations: 2.271 MB / 1.475 GB, free: 8.297 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5262, allocations: 0.7634 MB / 1.475 GB, free: 7.527 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.5268, allocations: 286.7 kB / 1.476 GB, free: 7.246 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.962e-05/0.5269, allocations: 20.64 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009972/0.5279, allocations: 0.5936 MB / 1.476 GB, free: 6.59 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/0.5279, allocations: 0 / 1.476 GB, free: 6.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003531/0.5314, allocations: 1.138 MB / 1.477 GB, free: 5.441 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.5315, allocations: 196.6 kB / 1.478 GB, free: 5.207 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009897/0.5325, allocations: 0.6684 MB / 1.478 GB, free: 4.531 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.5326, allocations: 45.7 kB / 1.478 GB, free: 4.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.533, allocations: 417 kB / 1.479 GB, free: 4.066 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.5333, allocations: 281.6 kB / 1.479 GB, free: 3.789 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.5335, allocations: 146.6 kB / 1.479 GB, free: 3.641 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.5337, allocations: 390.7 kB / 1.479 GB, free: 3.25 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.5343, allocations: 245.9 kB / 1.48 GB, free: 3.008 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.535, allocations: 499 kB / 1.48 GB, free: 2.465 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5361, allocations: 0.5955 MB / 1.481 GB, free: 1.863 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5361, allocations: 0 / 1.481 GB, free: 1.863 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002106/0.5382, allocations: 0.8218 MB / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5382, allocations: 4 kB / 1.482 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5382, allocations: 4 kB / 1.482 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.5388, allocations: 80.86 kB / 1.482 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.5396, allocations: 163.7 kB / 1.482 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.5419, allocations: 1.515 MB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/0.5428, allocations: 95.39 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.5428, allocations: 27.98 kB / 1.483 GB, free: 15.02 MB / 1.186 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.0004765/0.5433, allocations: 266.2 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.5435, allocations: 91.61 kB / 1.484 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.546, allocations: 1.078 MB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.546, allocations: 8 kB / 1.485 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.546, allocations: 0 / 1.485 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.546, allocations: 7.984 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5472, allocations: 0.7663 MB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5472, allocations: 0 / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.5478, allocations: 159.8 kB / 1.486 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/0.5483, allocations: 76.67 kB / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.5484, allocations: 31.91 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.5504, allocations: 1.547 MB / 1.487 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5504, allocations: 0 / 1.487 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.5533, allocations: 1.344 MB / 1.489 GB, free: 9.449 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.5538, allocations: 203 kB / 1.489 GB, free: 9.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.554, allocations: 27.94 kB / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.5547, allocations: 59.98 kB / 1.489 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.5548, allocations: 80.92 kB / 1.489 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.5549, allocations: 39.97 kB / 1.489 GB, free: 9.043 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006601/0.5556, allocations: 483 kB / 1.489 GB, free: 8.574 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5556, allocations: 0 / 1.489 GB, free: 8.574 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000939/0.5565, allocations: 331.1 kB / 1.49 GB, free: 8.25 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.005305/0.5618, allocations: 2.434 MB / 1.492 GB, free: 5.996 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.5637, allocations: 0.7805 MB / 1.493 GB, free: 5.199 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5637, allocations: 0 / 1.493 GB, free: 5.199 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.5647, allocations: 0.4962 MB / 1.493 GB, free: 4.695 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.5662, allocations: 311.4 kB / 1.494 GB, free: 4.414 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.5781, allocations: 6.445 MB / 1.5 GB, free: 13.81 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.5786, allocations: 452.7 kB / 1.5 GB, free: 13.34 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008835/0.5794, allocations: 270.9 kB / 1.501 GB, free: 13.07 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/0.5801, allocations: 407.3 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of SimCode: time 5.92e-07/0.5801, allocations: 0 / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06789/0.648, allocations: 24.12 MB / 1.525 GB, free: 4.855 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.79, allocations: 13.83 kB / 1.525 GB, free: 4.844 MB / 1.217 GB " [Timeout remaining time 285] (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: 21.27801788802026]