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.001361/0.001361, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001424/0.001424, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.44/1.44, allocations: 225.6 MB / 249.4 MB, free: 3.312 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.701/2.701, allocations: 476.7 MB / 0.7629 GB, free: 15.3 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.001987/0.001987, allocations: 71.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8287/0.8307, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006268/0.8369, allocations: 4.987 MB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1798/1.017, allocations: 151.2 MB / 1.424 GB, free: 3.793 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/1.018, allocations: 15.59 kB / 1.424 GB, free: 3.789 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006318/1.018, allocations: 199.2 kB / 1.424 GB, free: 3.613 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/1.02, allocations: 0.5555 MB / 1.425 GB, free: 3.195 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/1.023, allocations: 0.8462 MB / 1.426 GB, free: 2.551 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001839/1.024, allocations: 1.38 MB / 1.427 GB, free: 1.688 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007824/1.025, allocations: 418.2 kB / 1.427 GB, free: 1.379 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007169/1.026, allocations: 480.6 kB / 1.428 GB, free: 1.098 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/1.027, allocations: 0.493 MB / 1.428 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/1.027, allocations: 113.9 kB / 1.428 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/1.028, allocations: 482.4 kB / 1.429 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002931/1.028, allocations: 297.6 kB / 1.429 GB, free: 340 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006457/1.029, allocations: 0.5548 MB / 1.43 GB, free: 15.92 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/1.031, allocations: 1.628 MB / 1.431 GB, free: 14.75 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.031, allocations: 0 / 1.431 GB, free: 14.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.193e-06/1.031, allocations: 0 / 1.431 GB, free: 14.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.275e-05/1.031, allocations: 0 / 1.431 GB, free: 14.75 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.002661/1.034, allocations: 1.463 MB / 1.433 GB, free: 13.59 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.034, allocations: 8.812 kB / 1.433 GB, free: 13.59 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/1.034, allocations: 136.7 kB / 1.433 GB, free: 13.47 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009269/1.035, allocations: 195.3 kB / 1.433 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.036, allocations: 0.77 MB / 1.434 GB, free: 12.74 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/1.036, allocations: 60.09 kB / 1.434 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.036, allocations: 85.47 kB / 1.434 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/1.038, allocations: 0.9074 MB / 1.435 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.038, allocations: 5.438 kB / 1.435 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/1.038, allocations: 36.94 kB / 1.435 GB, free: 12.06 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/1.038, allocations: 19.19 kB / 1.435 GB, free: 12.06 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.04, allocations: 1.097 MB / 1.436 GB, free: 11.54 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.00432/1.044, allocations: 2.747 MB / 1.439 GB, free: 9.312 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.046, allocations: 0.7449 MB / 1.439 GB, free: 8.648 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/1.046, allocations: 270.6 kB / 1.44 GB, free: 8.383 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/1.046, allocations: 28.61 kB / 1.44 GB, free: 8.352 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/1.047, allocations: 488.8 kB / 1.44 GB, free: 7.859 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.365e-06/1.047, allocations: 0 / 1.44 GB, free: 7.859 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003295/1.05, allocations: 1.182 MB / 1.441 GB, free: 6.648 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.051, allocations: 192.6 kB / 1.441 GB, free: 6.418 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/1.051, allocations: 0.6255 MB / 1.442 GB, free: 5.781 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.591e-05/1.052, allocations: 45.7 kB / 1.442 GB, free: 5.73 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/1.052, allocations: 405 kB / 1.442 GB, free: 5.328 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/1.052, allocations: 269.7 kB / 1.443 GB, free: 5.062 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/1.052, allocations: 142.6 kB / 1.443 GB, free: 4.918 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002192/1.053, allocations: 386.7 kB / 1.443 GB, free: 4.531 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/1.053, allocations: 245.9 kB / 1.443 GB, free: 4.289 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/1.054, allocations: 359.4 kB / 1.444 GB, free: 3.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.055, allocations: 0.5846 MB / 1.444 GB, free: 3.312 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.055, allocations: 0 / 1.444 GB, free: 3.312 MB / 1.123 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002007/1.057, allocations: 0.7984 MB / 1.445 GB, free: 2.504 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.057, allocations: 4 kB / 1.445 GB, free: 2.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.057, allocations: 0 / 1.445 GB, free: 2.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/1.058, allocations: 84.84 kB / 1.445 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/1.058, allocations: 151.8 kB / 1.445 GB, free: 2.266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/1.06, allocations: 1.631 MB / 1.447 GB, free: 500 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/1.061, allocations: 91.41 kB / 1.447 GB, free: 408 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/1.061, allocations: 40.03 kB / 1.447 GB, free: 368 kB / 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.00048/1.062, allocations: 262.3 kB / 1.447 GB, free: 96 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/1.062, allocations: 87.44 kB / 1.447 GB, free: 8 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/1.064, allocations: 1.042 MB / 1.448 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.064, allocations: 12 kB / 1.448 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.064, allocations: 3.938 kB / 1.448 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.064, allocations: 3.984 kB / 1.448 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/1.066, allocations: 0.8881 MB / 1.449 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.066, allocations: 4 kB / 1.449 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/1.066, allocations: 135.8 kB / 1.449 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/1.067, allocations: 68.78 kB / 1.449 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/1.067, allocations: 31.97 kB / 1.45 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/1.069, allocations: 1.666 MB / 1.451 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.069, allocations: 0 / 1.451 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/1.071, allocations: 0.9205 MB / 1.452 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/1.071, allocations: 272.2 kB / 1.452 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.071, allocations: 19.98 kB / 1.452 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/1.072, allocations: 60.5 kB / 1.452 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.072, allocations: 72.83 kB / 1.452 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/1.072, allocations: 35.98 kB / 1.452 GB, free: 10.53 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000602/1.073, allocations: 467 kB / 1.453 GB, free: 10.07 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.073, allocations: 0 / 1.453 GB, free: 10.07 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009104/1.074, allocations: 319.1 kB / 1.453 GB, free: 9.762 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.004233/1.078, allocations: 1.965 MB / 1.455 GB, free: 7.961 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001795/1.08, allocations: 0.7648 MB / 1.456 GB, free: 7.184 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.08, allocations: 4 kB / 1.456 GB, free: 7.18 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/1.081, allocations: 492.4 kB / 1.456 GB, free: 6.688 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/1.082, allocations: 304.2 kB / 1.457 GB, free: 6.418 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.094, allocations: 6.182 MB / 1.463 GB, free: 120 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/1.095, allocations: 1.018 MB / 1.464 GB, free: 15.08 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009551/1.096, allocations: 266.6 kB / 1.464 GB, free: 14.81 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/1.097, allocations: 395.3 kB / 1.464 GB, free: 14.43 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.097, allocations: 0 / 1.464 GB, free: 14.43 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/1.157, allocations: 21.61 MB / 1.485 GB, free: 9.02 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.55, allocations: 13.28 kB / 1.485 GB, free: 9.012 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 --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.619950167980278]