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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001521/0.001521, allocations: 102 kB / 16.35 MB, free: 5.824 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.001691/0.001691, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.89 kB / 0.8707 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3368, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7661/1.103, allocations: 168.3 MB / 1.183 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02379/1.127, allocations: 17.06 MB / 1.2 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/1.13, allocations: 31.06 kB / 1.2 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/1.131, allocations: 0.5488 MB / 1.2 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005563/1.137, allocations: 1.606 MB / 1.202 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/1.141, allocations: 1.336 MB / 1.203 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003776/1.144, allocations: 2.689 MB / 1.206 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/1.147, allocations: 1.888 MB / 1.208 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004232/1.151, allocations: 1.347 MB / 1.209 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/1.153, allocations: 0.9898 MB / 1.21 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006484/1.154, allocations: 208.8 kB / 1.21 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/1.158, allocations: 1.42 MB / 1.212 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/1.159, allocations: 0.5542 MB / 1.212 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002467/1.162, allocations: 1.037 MB / 1.213 GB, free: 236 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007301/1.169, allocations: 3.114 MB / 1.216 GB, free: 14.05 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.169, allocations: 0 / 1.216 GB, free: 14.05 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.455e-06/1.169, allocations: 0 / 1.216 GB, free: 14.05 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001545/1.169, allocations: 0 / 1.216 GB, free: 14.05 MB / 0.92 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.005987/1.175, allocations: 2.28 MB / 1.218 GB, free: 12.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.175, allocations: 10.34 kB / 1.218 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/1.179, allocations: 0.5064 MB / 1.219 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/1.181, allocations: 1.117 MB / 1.22 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.182, allocations: 127.4 kB / 1.22 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/1.182, allocations: 164 kB / 1.22 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/1.185, allocations: 1.847 MB / 1.222 GB, free: 8.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/1.185, allocations: 7.938 kB / 1.222 GB, free: 8.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/1.185, allocations: 75.98 kB / 1.222 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/1.185, allocations: 44 kB / 1.222 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/1.189, allocations: 1.867 MB / 1.224 GB, free: 6.68 MB / 0.92 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.008732/1.197, allocations: 5.503 MB / 1.229 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/1.201, allocations: 1.778 MB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/1.202, allocations: 0.6559 MB / 1.232 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/1.203, allocations: 0.8077 MB / 1.233 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/1.205, allocations: 0.8879 MB / 1.233 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/1.205, allocations: 11.94 kB / 1.233 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006628/1.211, allocations: 2.552 MB / 1.236 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/1.211, allocations: 197.2 kB / 1.236 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.213, allocations: 0.8306 MB / 1.237 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/1.213, allocations: 57.7 kB / 1.237 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005886/1.213, allocations: 0.6446 MB / 1.238 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/1.214, allocations: 484.9 kB / 1.238 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/1.214, allocations: 262.8 kB / 1.238 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.214, allocations: 353.9 kB / 1.239 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/1.216, allocations: 490.3 kB / 1.239 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.217, allocations: 0.6385 MB / 1.24 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/1.219, allocations: 1.122 MB / 1.241 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.219, allocations: 0 / 1.241 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003716/1.223, allocations: 1.554 MB / 1.242 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.223, allocations: 11.94 kB / 1.242 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.223, allocations: 4.094 kB / 1.242 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/1.224, allocations: 188.1 kB / 1.243 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/1.225, allocations: 335.5 kB / 1.243 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/1.232, allocations: 7.284 MB / 1.25 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.233, allocations: 153.4 kB / 1.25 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.233, allocations: 60.02 kB / 1.25 GB, free: 10.26 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 (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.0008283/1.234, allocations: 376.8 kB / 1.251 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/1.235, allocations: 130.5 kB / 1.251 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/1.239, allocations: 1.846 MB / 1.252 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.239, allocations: 16 kB / 1.252 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.239, allocations: 8 kB / 1.253 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.239, allocations: 7.969 kB / 1.253 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/1.245, allocations: 3.436 MB / 1.256 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.245, allocations: 0 / 1.256 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.246, allocations: 319.5 kB / 1.256 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000721/1.247, allocations: 184.1 kB / 1.256 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/1.247, allocations: 39.97 kB / 1.256 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00608/1.253, allocations: 7.314 MB / 1.264 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.253, allocations: 0 / 1.264 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/1.257, allocations: 1.713 MB / 1.265 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/1.258, allocations: 403 kB / 1.266 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.258, allocations: 27.94 kB / 1.266 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.259, allocations: 109.8 kB / 1.266 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/1.259, allocations: 109.2 kB / 1.266 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.259, allocations: 71.89 kB / 1.266 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007642/1.26, allocations: 0.5784 MB / 1.266 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/1.26, allocations: 0 / 1.266 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001628/1.262, allocations: 0.6078 MB / 1.267 GB, free: 8.098 MB / 0.9669 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.001715/1.264, allocations: 0.7294 MB / 1.268 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003158/1.267, allocations: 1.864 MB / 1.27 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.267, allocations: 4.562 kB / 1.27 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/1.269, allocations: 1.305 MB / 1.271 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.271, allocations: 0.5156 MB / 1.271 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/1.275, allocations: 2.764 MB / 1.274 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/1.276, allocations: 1.303 MB / 1.275 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001463/1.278, allocations: 442.4 kB / 1.276 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/1.278, allocations: 147.4 kB / 1.276 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/1.278, allocations: 0 / 1.276 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.04425/1.323, allocations: 27.71 MB / 1.303 GB, free: 3.688 MB / 0.9981 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 -s cvode -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/jenkins1/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