Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007895/0.007895, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001712/0.001712, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 63.89 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8402, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2195/1.06, allocations: 167.2 MB / 1.251 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02996/1.09, allocations: 17.19 MB / 1.268 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/1.092, allocations: 31.81 kB / 1.268 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/1.094, allocations: 0.5469 MB / 1.269 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/1.1, allocations: 1.718 MB / 1.27 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/1.104, allocations: 1.417 MB / 1.272 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003726/1.108, allocations: 2.677 MB / 1.274 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003162/1.111, allocations: 1.994 MB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/1.115, allocations: 1.436 MB / 1.278 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.117, allocations: 1.075 MB / 1.279 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005977/1.117, allocations: 220 kB / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/1.121, allocations: 1.556 MB / 1.28 GB, free: 8.641 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009231/1.122, allocations: 0.7985 MB / 1.281 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/1.123, allocations: 1.174 MB / 1.282 GB, free: 6.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006634/1.13, allocations: 3.546 MB / 1.286 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.13, allocations: 0 / 1.286 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.13, allocations: 0 / 1.286 GB, free: 3.102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001034/1.13, allocations: 3.938 kB / 1.286 GB, free: 3.098 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005944/1.136, allocations: 2.796 MB / 1.288 GB, free: 236 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.136, allocations: 16.02 kB / 1.288 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/1.14, allocations: 0.5604 MB / 1.289 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/1.143, allocations: 1.647 MB / 1.291 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.67e-05/1.143, allocations: 127.4 kB / 1.291 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/1.143, allocations: 168 kB / 1.291 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/1.147, allocations: 1.949 MB / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/1.147, allocations: 0 / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/1.147, allocations: 75.98 kB / 1.293 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/1.147, allocations: 44 kB / 1.293 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/1.15, allocations: 2.085 MB / 1.295 GB, free: 9.457 MB / 1.029 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.008943/1.159, allocations: 5.659 MB / 1.3 GB, free: 3.539 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/1.163, allocations: 2.087 MB / 1.303 GB, free: 1.371 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/1.164, allocations: 0.7691 MB / 1.303 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/1.164, allocations: 425.6 kB / 1.304 GB, free: 112 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/1.166, allocations: 1.024 MB / 1.305 GB, free: 15.06 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/1.166, allocations: 0 / 1.305 GB, free: 15.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006805/1.173, allocations: 2.958 MB / 1.308 GB, free: 11.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.173, allocations: 197.2 kB / 1.308 GB, free: 11.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/1.176, allocations: 1.788 MB / 1.31 GB, free: 9.957 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/1.176, allocations: 57.7 kB / 1.31 GB, free: 9.895 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/1.177, allocations: 0.8403 MB / 1.31 GB, free: 9.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/1.178, allocations: 0.4957 MB / 1.311 GB, free: 8.543 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/1.178, allocations: 258.8 kB / 1.311 GB, free: 8.281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.178, allocations: 361.9 kB / 1.311 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/1.179, allocations: 0.5882 MB / 1.312 GB, free: 7.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/1.181, allocations: 0.7974 MB / 1.313 GB, free: 6.484 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/1.183, allocations: 1.333 MB / 1.314 GB, free: 5.145 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.183, allocations: 0 / 1.314 GB, free: 5.145 MB / 1.045 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00402/1.187, allocations: 1.816 MB / 1.316 GB, free: 3.305 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/1.187, allocations: 8 kB / 1.316 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.187, allocations: 3.938 kB / 1.316 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/1.188, allocations: 216.2 kB / 1.316 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.19, allocations: 331.5 kB / 1.316 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/1.196, allocations: 7.312 MB / 1.324 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/1.198, allocations: 160.7 kB / 1.324 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.198, allocations: 59.89 kB / 1.324 GB, free: 10.51 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 (152): * Single equations (assignments): 147 * 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.001234/1.2, allocations: 499.1 kB / 1.324 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006247/1.2, allocations: 190.8 kB / 1.324 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/1.205, allocations: 2.125 MB / 1.327 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.205, allocations: 20 kB / 1.327 GB, free: 7.648 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.205, allocations: 0 / 1.327 GB, free: 7.648 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.205, allocations: 11.97 kB / 1.327 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007776/1.213, allocations: 3.984 MB / 1.33 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.213, allocations: 0 / 1.33 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.214, allocations: 307.6 kB / 1.331 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009331/1.215, allocations: 216 kB / 1.331 GB, free: 3.047 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.216, allocations: 43.95 kB / 1.331 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/1.222, allocations: 7.348 MB / 1.338 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.222, allocations: 3.938 kB / 1.338 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/1.226, allocations: 2.001 MB / 1.34 GB, free: 8.906 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.227, allocations: 479.5 kB / 1.341 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/1.228, allocations: 31.98 kB / 1.341 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.229, allocations: 103.6 kB / 1.341 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/1.23, allocations: 117.1 kB / 1.341 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.23, allocations: 71.95 kB / 1.341 GB, free: 8.102 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002042/1.232, allocations: 1.285 MB / 1.342 GB, free: 6.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.232, allocations: 0 / 1.342 GB, free: 6.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002131/1.234, allocations: 0.6625 MB / 1.343 GB, free: 6.156 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.002123/1.236, allocations: 0.7525 MB / 1.344 GB, free: 5.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.24, allocations: 2.082 MB / 1.346 GB, free: 3.441 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.24, allocations: 4.562 kB / 1.346 GB, free: 3.438 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/1.243, allocations: 1.414 MB / 1.347 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.246, allocations: 0.5205 MB / 1.347 GB, free: 1.457 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009971/1.256, allocations: 3.888 MB / 1.351 GB, free: 13.54 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/1.258, allocations: 1.533 MB / 1.353 GB, free: 11.97 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001982/1.26, allocations: 0.4967 MB / 1.353 GB, free: 11.47 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/1.26, allocations: 171.4 kB / 1.353 GB, free: 11.3 MB / 1.092 GB Notification: Performance of SimCode: time 1.573e-06/1.26, allocations: 0 / 1.353 GB, free: 11.3 MB / 1.092 GB Notification: Performance of Templates: time 0.05345/1.314, allocations: 31.3 MB / 1.384 GB, free: 12.34 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches