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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 102.2 kB / 18.93 MB, free: 2.957 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.002325/0.002325, allocations: 189.7 kB / 22.23 MB, free: 5.156 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.505/1.505, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 68.11 kB / 1.061 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.878, allocations: 160.8 MB / 1.218 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2278/1.106, allocations: 169 MB / 1.384 GB, free: 13.62 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.131, allocations: 17.37 MB / 1.4 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/1.133, allocations: 39.69 kB / 1.401 GB, free: 12.16 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/1.135, allocations: 0.574 MB / 1.401 GB, free: 11.59 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004964/1.139, allocations: 1.655 MB / 1.403 GB, free: 9.926 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/1.143, allocations: 1.37 MB / 1.404 GB, free: 8.566 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003798/1.147, allocations: 2.707 MB / 1.407 GB, free: 5.852 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/1.149, allocations: 1.543 MB / 1.408 GB, free: 4.25 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004203/1.153, allocations: 1.415 MB / 1.41 GB, free: 2.883 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/1.155, allocations: 0.9997 MB / 1.411 GB, free: 1.879 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003498/1.156, allocations: 208 kB / 1.411 GB, free: 1.676 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/1.159, allocations: 1.482 MB / 1.412 GB, free: 196 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005901/1.159, allocations: 0.5608 MB / 1.413 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/1.161, allocations: 1.042 MB / 1.414 GB, free: 14.58 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004973/1.166, allocations: 3.121 MB / 1.417 GB, free: 11.45 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/1.166, allocations: 0 / 1.417 GB, free: 11.45 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.22e-07/1.166, allocations: 0 / 1.417 GB, free: 11.45 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.231e-05/1.166, allocations: 0 / 1.417 GB, free: 11.45 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004235/1.17, allocations: 2.346 MB / 1.419 GB, free: 9.035 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/1.17, allocations: 8.031 kB / 1.419 GB, free: 9.027 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/1.174, allocations: 0.5217 MB / 1.42 GB, free: 8.504 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/1.176, allocations: 1.133 MB / 1.421 GB, free: 7.324 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.176, allocations: 127.3 kB / 1.421 GB, free: 7.199 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/1.176, allocations: 168 kB / 1.421 GB, free: 7.035 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/1.18, allocations: 1.843 MB / 1.423 GB, free: 5.141 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/1.18, allocations: 4 kB / 1.423 GB, free: 5.137 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/1.18, allocations: 75.98 kB / 1.423 GB, free: 5.062 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/1.18, allocations: 43.98 kB / 1.423 GB, free: 5.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/1.183, allocations: 1.875 MB / 1.425 GB, free: 3.141 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.009326/1.193, allocations: 5.509 MB / 1.43 GB, free: 13.3 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/1.196, allocations: 1.677 MB / 1.432 GB, free: 11.54 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/1.197, allocations: 0.5929 MB / 1.432 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.198, allocations: 0.8078 MB / 1.433 GB, free: 9.973 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/1.2, allocations: 0.8879 MB / 1.434 GB, free: 9.062 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 2.715e-06/1.2, allocations: 4 kB / 1.434 GB, free: 9.059 MB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.006437/1.206, allocations: 2.561 MB / 1.437 GB, free: 6.387 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.206, allocations: 209.1 kB / 1.437 GB, free: 6.141 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/1.208, allocations: 0.8306 MB / 1.438 GB, free: 5.285 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.208, allocations: 57.7 kB / 1.438 GB, free: 5.223 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/1.208, allocations: 0.6577 MB / 1.438 GB, free: 4.555 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004853/1.209, allocations: 0.4919 MB / 1.439 GB, free: 4.059 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/1.209, allocations: 262.8 kB / 1.439 GB, free: 3.793 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.209, allocations: 353.9 kB / 1.439 GB, free: 3.441 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/1.211, allocations: 494.3 kB / 1.44 GB, free: 2.961 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/1.212, allocations: 0.6384 MB / 1.44 GB, free: 2.293 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/1.214, allocations: 1.118 MB / 1.441 GB, free: 1.164 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.214, allocations: 0 / 1.441 GB, free: 1.164 MB / 1.139 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003786/1.218, allocations: 1.55 MB / 1.443 GB, free: 15.59 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.218, allocations: 4 kB / 1.443 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.218, allocations: 4.094 kB / 1.443 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009681/1.219, allocations: 196.1 kB / 1.443 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/1.221, allocations: 339.5 kB / 1.444 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/1.227, allocations: 7.278 MB / 1.451 GB, free: 7.062 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.229, allocations: 156.9 kB / 1.451 GB, free: 6.91 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.229, allocations: 68 kB / 1.451 GB, free: 6.844 MB / 1.154 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.0009059/1.23, allocations: 383.2 kB / 1.451 GB, free: 6.457 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/1.23, allocations: 135.2 kB / 1.451 GB, free: 6.324 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/1.235, allocations: 1.835 MB / 1.453 GB, free: 4.465 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/1.235, allocations: 16 kB / 1.453 GB, free: 4.449 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.235, allocations: 4 kB / 1.453 GB, free: 4.445 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/1.235, allocations: 7.969 kB / 1.453 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006917/1.242, allocations: 3.456 MB / 1.457 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.242, allocations: 0 / 1.457 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.243, allocations: 315.6 kB / 1.457 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007458/1.244, allocations: 180.1 kB / 1.457 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/1.244, allocations: 39.97 kB / 1.457 GB, free: 372 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/1.251, allocations: 7.322 MB / 1.464 GB, free: 8.336 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.251, allocations: 3.938 kB / 1.464 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/1.255, allocations: 1.71 MB / 1.466 GB, free: 6.586 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009559/1.256, allocations: 411.6 kB / 1.466 GB, free: 6.164 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.256, allocations: 32 kB / 1.466 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.257, allocations: 97.95 kB / 1.466 GB, free: 6.039 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/1.257, allocations: 117.1 kB / 1.466 GB, free: 5.926 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.257, allocations: 75.94 kB / 1.467 GB, free: 5.852 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009151/1.258, allocations: 0.5784 MB / 1.467 GB, free: 5.262 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.258, allocations: 0 / 1.467 GB, free: 5.262 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001884/1.26, allocations: 0.604 MB / 1.468 GB, free: 4.656 MB / 1.17 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.002373/1.263, allocations: 0.7393 MB / 1.468 GB, free: 4.082 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003883/1.267, allocations: 1.813 MB / 1.47 GB, free: 2.203 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.267, allocations: 0.6562 kB / 1.47 GB, free: 2.203 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.269, allocations: 1.258 MB / 1.471 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.271, allocations: 0.5245 MB / 1.472 GB, free: 384 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/1.277, allocations: 2.811 MB / 1.475 GB, free: 13.53 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.278, allocations: 1.3 MB / 1.476 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001678/1.28, allocations: 442.3 kB / 1.476 GB, free: 11.77 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/1.28, allocations: 151.4 kB / 1.477 GB, free: 11.62 MB / 1.186 GB Notification: Performance of SimCode: time 1.283e-06/1.28, allocations: 0 / 1.477 GB, free: 11.62 MB / 1.186 GB Notification: Performance of Templates: time 0.05395/1.334, allocations: 28.95 MB / 1.505 GB, free: 14.95 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.560891379602253]