Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007212/0.007217, allocations: 98.64 kB / 15.73 MB, free: 6.008 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.001606/0.001606, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.83 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8366, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1965/1.033, allocations: 168.3 MB / 1.331 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02459/1.058, allocations: 17.08 MB / 1.348 GB, free: 9.762 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/1.06, allocations: 31.81 kB / 1.348 GB, free: 9.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/1.062, allocations: 0.5428 MB / 1.348 GB, free: 9.184 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/1.068, allocations: 1.609 MB / 1.35 GB, free: 7.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/1.071, allocations: 1.337 MB / 1.351 GB, free: 6.246 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003859/1.075, allocations: 2.696 MB / 1.354 GB, free: 3.543 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/1.078, allocations: 1.881 MB / 1.356 GB, free: 1.613 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/1.082, allocations: 1.338 MB / 1.357 GB, free: 324 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/1.084, allocations: 0.992 MB / 1.358 GB, free: 15.32 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006084/1.085, allocations: 208 kB / 1.358 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/1.088, allocations: 1.423 MB / 1.359 GB, free: 13.69 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008574/1.089, allocations: 0.553 MB / 1.36 GB, free: 13.14 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002201/1.091, allocations: 1.034 MB / 1.361 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/1.098, allocations: 3.126 MB / 1.364 GB, free: 8.961 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.098, allocations: 0 / 1.364 GB, free: 8.961 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.154e-06/1.098, allocations: 0 / 1.364 GB, free: 8.961 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001356/1.098, allocations: 4 kB / 1.364 GB, free: 8.957 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005609/1.103, allocations: 2.338 MB / 1.366 GB, free: 6.551 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.104, allocations: 8.031 kB / 1.366 GB, free: 6.543 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/1.107, allocations: 0.5217 MB / 1.367 GB, free: 6.02 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/1.11, allocations: 1.133 MB / 1.368 GB, free: 4.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.11, allocations: 123.4 kB / 1.368 GB, free: 4.719 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/1.11, allocations: 172 kB / 1.368 GB, free: 4.551 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004238/1.115, allocations: 1.843 MB / 1.37 GB, free: 2.656 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/1.115, allocations: 0 / 1.37 GB, free: 2.656 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/1.115, allocations: 75.94 kB / 1.37 GB, free: 2.582 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/1.115, allocations: 44 kB / 1.37 GB, free: 2.539 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/1.118, allocations: 1.871 MB / 1.372 GB, free: 0.6641 MB / 1.092 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.009176/1.128, allocations: 5.521 MB / 1.377 GB, free: 10.81 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/1.131, allocations: 1.77 MB / 1.379 GB, free: 8.961 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/1.132, allocations: 0.6592 MB / 1.38 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009094/1.133, allocations: 0.8078 MB / 1.38 GB, free: 7.328 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.135, allocations: 0.8916 MB / 1.381 GB, free: 6.418 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.507e-06/1.135, allocations: 0 / 1.381 GB, free: 6.418 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006358/1.141, allocations: 2.561 MB / 1.384 GB, free: 3.746 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.142, allocations: 201.2 kB / 1.384 GB, free: 3.508 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/1.143, allocations: 0.8384 MB / 1.385 GB, free: 2.645 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/1.143, allocations: 57.7 kB / 1.385 GB, free: 2.582 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006259/1.144, allocations: 0.6538 MB / 1.386 GB, free: 1.918 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/1.144, allocations: 499.7 kB / 1.386 GB, free: 1.426 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/1.145, allocations: 258.8 kB / 1.386 GB, free: 1.164 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.145, allocations: 357.9 kB / 1.387 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/1.146, allocations: 494.3 kB / 1.387 GB, free: 336 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/1.147, allocations: 0.6423 MB / 1.388 GB, free: 15.66 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/1.149, allocations: 1.118 MB / 1.389 GB, free: 14.53 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.149, allocations: 4 kB / 1.389 GB, free: 14.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003868/1.153, allocations: 1.55 MB / 1.39 GB, free: 12.95 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.153, allocations: 8 kB / 1.39 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.153, allocations: 3.984 kB / 1.39 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/1.154, allocations: 196.2 kB / 1.391 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.156, allocations: 339.5 kB / 1.391 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/1.163, allocations: 7.285 MB / 1.398 GB, free: 4.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.165, allocations: 160.4 kB / 1.398 GB, free: 4.254 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/1.165, allocations: 51.97 kB / 1.398 GB, free: 4.203 MB / 1.123 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001642/1.167, allocations: 383.2 kB / 1.399 GB, free: 3.82 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007968/1.168, allocations: 143.1 kB / 1.399 GB, free: 3.68 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005089/1.173, allocations: 1.839 MB / 1.4 GB, free: 1.816 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.173, allocations: 16 kB / 1.4 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.173, allocations: 4 kB / 1.4 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/1.173, allocations: 7.969 kB / 1.401 GB, free: 1.789 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/1.18, allocations: 3.436 MB / 1.404 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.18, allocations: 0 / 1.404 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.181, allocations: 315.5 kB / 1.404 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007618/1.182, allocations: 184.1 kB / 1.404 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.182, allocations: 43.95 kB / 1.404 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005895/1.188, allocations: 7.315 MB / 1.412 GB, free: 5.707 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.188, allocations: 0 / 1.412 GB, free: 5.707 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/1.193, allocations: 1.725 MB / 1.413 GB, free: 3.945 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/1.193, allocations: 407.6 kB / 1.414 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/1.194, allocations: 28 kB / 1.414 GB, free: 3.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.195, allocations: 102.7 kB / 1.414 GB, free: 3.402 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/1.195, allocations: 117.2 kB / 1.414 GB, free: 3.289 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.196, allocations: 71.94 kB / 1.414 GB, free: 3.219 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009447/1.197, allocations: 0.5784 MB / 1.414 GB, free: 2.629 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.61e-07/1.197, allocations: 0 / 1.414 GB, free: 2.629 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001784/1.198, allocations: 0.604 MB / 1.415 GB, free: 2.023 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/1.2, allocations: 0.7351 MB / 1.416 GB, free: 1.445 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003535/1.204, allocations: 1.871 MB / 1.418 GB, free: 15.5 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.204, allocations: 8.562 kB / 1.418 GB, free: 15.5 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/1.206, allocations: 1.305 MB / 1.419 GB, free: 14.13 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.209, allocations: 0.5119 MB / 1.419 GB, free: 13.63 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/1.215, allocations: 2.817 MB / 1.422 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.216, allocations: 1.3 MB / 1.423 GB, free: 9.449 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001831/1.218, allocations: 434.4 kB / 1.424 GB, free: 9.02 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/1.218, allocations: 155.4 kB / 1.424 GB, free: 8.867 MB / 1.154 GB Notification: Performance of SimCode: time 9.21e-07/1.218, allocations: 7.938 kB / 1.424 GB, free: 8.859 MB / 1.154 GB Notification: Performance of Templates: time 0.04742/1.265, allocations: 27.97 MB / 1.451 GB, free: 13.17 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches