Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 104.9 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 193.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7427 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 68.7 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.321, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007449/0.3284, allocations: 5.117 MB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6793/1.008, allocations: 148.4 MB / 1.214 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007725/1.009, allocations: 20.16 kB / 1.214 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005963/1.009, allocations: 153.6 kB / 1.214 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/1.011, allocations: 0.4918 MB / 1.215 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/1.013, allocations: 0.7524 MB / 1.215 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001974/1.015, allocations: 1.414 MB / 1.217 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009973/1.016, allocations: 0.5906 MB / 1.217 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/1.017, allocations: 0.4931 MB / 1.218 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/1.018, allocations: 0.5128 MB / 1.218 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/1.018, allocations: 118.2 kB / 1.218 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/1.019, allocations: 464.8 kB / 1.219 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/1.019, allocations: 298.5 kB / 1.219 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006268/1.02, allocations: 0.5875 MB / 1.22 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/1.022, allocations: 1.24 MB / 1.221 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.022, allocations: 0 / 1.221 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.607e-06/1.022, allocations: 0 / 1.221 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.052e-05/1.022, allocations: 7.938 kB / 1.221 GB, free: 6.555 MB / 0.9356 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.002792/1.024, allocations: 1.46 MB / 1.222 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.024, allocations: 8.562 kB / 1.222 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009213/1.025, allocations: 186.7 kB / 1.223 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/1.026, allocations: 0.7625 MB / 1.223 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/1.027, allocations: 67.88 kB / 1.223 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.027, allocations: 85.81 kB / 1.224 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/1.028, allocations: 0.9363 MB / 1.224 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.028, allocations: 0 / 1.224 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/1.028, allocations: 37.16 kB / 1.224 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.028, allocations: 21.88 kB / 1.224 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/1.03, allocations: 1.122 MB / 1.226 GB, free: 3.473 MB / 0.9356 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.004735/1.035, allocations: 2.758 MB / 1.228 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/1.037, allocations: 0.8199 MB / 1.229 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/1.037, allocations: 306.1 kB / 1.229 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.554e-05/1.037, allocations: 32.53 kB / 1.229 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/1.038, allocations: 0.4913 MB / 1.23 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 4.358e-06/1.038, allocations: 0 / 1.23 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003367/1.042, allocations: 1.211 MB / 1.231 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.042, allocations: 192.6 kB / 1.231 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/1.043, allocations: 0.641 MB / 1.232 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/1.043, allocations: 41.7 kB / 1.232 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/1.043, allocations: 404.3 kB / 1.232 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/1.043, allocations: 272.1 kB / 1.233 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/1.044, allocations: 166.5 kB / 1.233 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.044, allocations: 390.7 kB / 1.233 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/1.044, allocations: 269.9 kB / 1.233 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/1.045, allocations: 371 kB / 1.234 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1.046, allocations: 0.6112 MB / 1.234 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.046, allocations: 0 / 1.234 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002061/1.048, allocations: 0.8605 MB / 1.235 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.048, allocations: 11.94 kB / 1.235 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.048, allocations: 0 / 1.235 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/1.049, allocations: 80.88 kB / 1.235 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/1.05, allocations: 167.7 kB / 1.235 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/1.052, allocations: 1.636 MB / 1.237 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/1.053, allocations: 95.22 kB / 1.237 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/1.053, allocations: 39.97 kB / 1.237 GB, free: 7.465 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0005337/1.054, allocations: 279.3 kB / 1.237 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/1.054, allocations: 82.97 kB / 1.237 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/1.056, allocations: 1.069 MB / 1.239 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.056, allocations: 8 kB / 1.239 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.056, allocations: 0 / 1.239 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.056, allocations: 3.984 kB / 1.239 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.058, allocations: 0.9035 MB / 1.239 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.058, allocations: 0 / 1.239 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/1.058, allocations: 151.8 kB / 1.24 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/1.059, allocations: 76.78 kB / 1.24 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/1.059, allocations: 31.91 kB / 1.24 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/1.061, allocations: 1.662 MB / 1.241 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.061, allocations: 0 / 1.241 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/1.064, allocations: 1.344 MB / 1.243 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/1.064, allocations: 271.4 kB / 1.243 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.064, allocations: 23.98 kB / 1.243 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/1.065, allocations: 66.22 kB / 1.243 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.065, allocations: 72.89 kB / 1.243 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/1.065, allocations: 35.98 kB / 1.243 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006428/1.066, allocations: 471 kB / 1.243 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.066, allocations: 0 / 1.243 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009837/1.067, allocations: 331.2 kB / 1.244 GB, free: 384 kB / 0.9512 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.001965/1.069, allocations: 0.5941 MB / 1.244 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.072, allocations: 1.042 MB / 1.245 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.072, allocations: 3.938 kB / 1.245 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009956/1.073, allocations: 0.5238 MB / 1.246 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.074, allocations: 317 kB / 1.246 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/1.078, allocations: 2.254 MB / 1.248 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/1.078, allocations: 1.027 MB / 1.249 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.079, allocations: 115.4 kB / 1.25 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of SimCode: time 6.42e-07/1.079, allocations: 4 kB / 1.25 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of Templates: time 0.02728/1.106, allocations: 18.76 MB / 1.268 GB, free: 7.91 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches