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.001687/0.001687, allocations: 110.6 kB / 17.08 MB, free: 5.984 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.001912/0.001912, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7177 GB, free: 4.809 MB / 0.5606 GB " [Timeout remaining time 177] 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=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.001947/0.001947, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8618/1.184, allocations: 168.3 MB / 1.34 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0273/1.211, allocations: 17.07 MB / 1.357 GB, free: 6.098 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/1.213, allocations: 33.97 kB / 1.357 GB, free: 6.082 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/1.216, allocations: 0.5483 MB / 1.357 GB, free: 5.746 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006321/1.222, allocations: 1.611 MB / 1.359 GB, free: 4.824 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/1.226, allocations: 1.33 MB / 1.36 GB, free: 4.105 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004903/1.231, allocations: 2.692 MB / 1.363 GB, free: 2.766 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/1.235, allocations: 1.88 MB / 1.365 GB, free: 1.832 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005186/1.24, allocations: 1.349 MB / 1.366 GB, free: 1.234 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/1.242, allocations: 0.9914 MB / 1.367 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008606/1.243, allocations: 206.7 kB / 1.367 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/1.248, allocations: 1.418 MB / 1.369 GB, free: 288 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/1.249, allocations: 0.5558 MB / 1.369 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/1.251, allocations: 1.034 MB / 1.37 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006958/1.258, allocations: 3.127 MB / 1.373 GB, free: 13.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.258, allocations: 0 / 1.373 GB, free: 13.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/1.258, allocations: 0 / 1.373 GB, free: 13.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.537e-05/1.258, allocations: 1.469 kB / 1.373 GB, free: 13.61 MB / 1.045 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.004796/1.263, allocations: 2.344 MB / 1.376 GB, free: 11.85 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.263, allocations: 14.02 kB / 1.376 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/1.267, allocations: 0.5159 MB / 1.376 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/1.269, allocations: 1.126 MB / 1.377 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.269, allocations: 131.1 kB / 1.377 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/1.27, allocations: 167.8 kB / 1.377 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/1.273, allocations: 1.84 MB / 1.379 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/1.273, allocations: 1.344 kB / 1.379 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/1.273, allocations: 75.81 kB / 1.379 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/1.273, allocations: 40.19 kB / 1.379 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/1.277, allocations: 1.881 MB / 1.381 GB, free: 8.535 MB / 1.045 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.0087/1.285, allocations: 5.513 MB / 1.387 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/1.289, allocations: 1.779 MB / 1.388 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/1.29, allocations: 0.6461 MB / 1.389 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000982/1.291, allocations: 0.8061 MB / 1.39 GB, free: 1.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/1.292, allocations: 0.8864 MB / 1.391 GB, free: 1.121 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 2.945e-06/1.292, allocations: 3.938 kB / 1.391 GB, free: 1.117 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006245/1.299, allocations: 2.558 MB / 1.393 GB, free: 15.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.299, allocations: 196.2 kB / 1.393 GB, free: 15.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/1.3, allocations: 0.8446 MB / 1.394 GB, free: 14.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.3, allocations: 55.8 kB / 1.394 GB, free: 14.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000602/1.301, allocations: 0.6572 MB / 1.395 GB, free: 14.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/1.301, allocations: 0.4966 MB / 1.395 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/1.302, allocations: 259 kB / 1.396 GB, free: 13.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.302, allocations: 354.6 kB / 1.396 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/1.303, allocations: 0.4928 MB / 1.396 GB, free: 13.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/1.304, allocations: 0.6395 MB / 1.397 GB, free: 12.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/1.306, allocations: 1.118 MB / 1.398 GB, free: 12.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.306, allocations: 0 / 1.398 GB, free: 12.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003667/1.31, allocations: 1.556 MB / 1.4 GB, free: 11.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.31, allocations: 5.219 kB / 1.4 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.31, allocations: 2.469 kB / 1.4 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/1.311, allocations: 189.3 kB / 1.4 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.312, allocations: 337.7 kB / 1.4 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/1.319, allocations: 7.278 MB / 1.407 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/1.321, allocations: 161.2 kB / 1.407 GB, free: 3.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/1.321, allocations: 59.23 kB / 1.407 GB, free: 3.48 MB / 1.061 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.0008615/1.322, allocations: 375.4 kB / 1.408 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.322, allocations: 136.7 kB / 1.408 GB, free: 3.133 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/1.326, allocations: 1.848 MB / 1.41 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.326, allocations: 14.69 kB / 1.41 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.326, allocations: 3.188 kB / 1.41 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/1.326, allocations: 7.969 kB / 1.41 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00636/1.332, allocations: 3.45 MB / 1.413 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.333, allocations: 0 / 1.413 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.334, allocations: 311.6 kB / 1.413 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007626/1.335, allocations: 180.1 kB / 1.414 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.335, allocations: 39.97 kB / 1.414 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006458/1.341, allocations: 7.323 MB / 1.421 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.341, allocations: 0 / 1.421 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/1.346, allocations: 1.713 MB / 1.422 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009022/1.347, allocations: 419.6 kB / 1.423 GB, free: 4.492 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/1.347, allocations: 32 kB / 1.423 GB, free: 4.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.348, allocations: 96.41 kB / 1.423 GB, free: 4.371 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/1.348, allocations: 125.1 kB / 1.423 GB, free: 4.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.348, allocations: 67.95 kB / 1.423 GB, free: 4.184 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000929/1.349, allocations: 0.5745 MB / 1.424 GB, free: 3.598 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.349, allocations: 0 / 1.424 GB, free: 3.598 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001843/1.351, allocations: 0.6079 MB / 1.424 GB, free: 2.988 MB / 1.076 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.002352/1.354, allocations: 0.7377 MB / 1.425 GB, free: 2.445 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00369/1.357, allocations: 1.875 MB / 1.427 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.357, allocations: 4.562 kB / 1.427 GB, free: 0.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/1.359, allocations: 1.301 MB / 1.428 GB, free: 15.14 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.362, allocations: 0.5286 MB / 1.429 GB, free: 14.62 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/1.367, allocations: 2.872 MB / 1.431 GB, free: 11.71 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.369, allocations: 1.292 MB / 1.433 GB, free: 10.39 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/1.369, allocations: 175.3 kB / 1.433 GB, free: 10.21 MB / 1.092 GB Notification: Performance of SimCode: time 8.82e-07/1.369, allocations: 0 / 1.433 GB, free: 10.21 MB / 1.092 GB Notification: Performance of Templates: time 0.07068/1.44, allocations: 57.76 MB / 1.489 GB, free: 484 kB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,weaDat.weaBus.winDir,north.pWin,west.pWin,east.pWin,south.pWin Variables in the result:east.pWin,north.pWin,south.pWin,time,weaDat.weaBus.winDir,west.pWin [Calling sys.exit(0), Time elapsed: 16.87114070507232]