Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_CpData,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_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_10_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.001599/0.001599, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 193.1 kB / 16.66 MB, free: 6.582 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.611/2.611, allocations: 437 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.89 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3369, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.9269/1.264, allocations: 168.4 MB / 1.331 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02647/1.29, allocations: 17.34 MB / 1.348 GB, free: 6.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/1.293, allocations: 31.78 kB / 1.348 GB, free: 6.219 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/1.295, allocations: 0.5868 MB / 1.349 GB, free: 5.863 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/1.301, allocations: 1.812 MB / 1.35 GB, free: 4.871 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/1.305, allocations: 1.443 MB / 1.352 GB, free: 4.094 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004365/1.31, allocations: 2.871 MB / 1.355 GB, free: 2.688 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/1.313, allocations: 1.944 MB / 1.356 GB, free: 1.746 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/1.317, allocations: 1.463 MB / 1.358 GB, free: 1.105 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/1.319, allocations: 1.11 MB / 1.359 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/1.32, allocations: 220.6 kB / 1.359 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004598/1.325, allocations: 1.558 MB / 1.361 GB, free: 72 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/1.326, allocations: 0.7924 MB / 1.362 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/1.327, allocations: 1.217 MB / 1.363 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006589/1.334, allocations: 3.613 MB / 1.366 GB, free: 12.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.334, allocations: 6.594 kB / 1.366 GB, free: 12.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.943e-06/1.334, allocations: 0 / 1.366 GB, free: 12.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.187e-05/1.334, allocations: 0 / 1.366 GB, free: 12.68 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005429/1.339, allocations: 2.825 MB / 1.369 GB, free: 10.58 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.34, allocations: 9.375 kB / 1.369 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/1.343, allocations: 0.5662 MB / 1.37 GB, free: 10.31 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/1.347, allocations: 1.639 MB / 1.371 GB, free: 9.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/1.347, allocations: 130.9 kB / 1.371 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/1.347, allocations: 170.8 kB / 1.371 GB, free: 9.047 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/1.351, allocations: 1.944 MB / 1.373 GB, free: 7.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/1.351, allocations: 3.938 kB / 1.373 GB, free: 7.906 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/1.351, allocations: 75.09 kB / 1.373 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/1.351, allocations: 41.56 kB / 1.373 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/1.354, allocations: 2.093 MB / 1.375 GB, free: 6.895 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.009205/1.363, allocations: 6.034 MB / 1.381 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/1.367, allocations: 2.102 MB / 1.383 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/1.368, allocations: 0.7542 MB / 1.384 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005737/1.369, allocations: 433.8 kB / 1.385 GB, free: 160 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/1.37, allocations: 1.021 MB / 1.386 GB, free: 15.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 2.985e-06/1.37, allocations: 0 / 1.386 GB, free: 15.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.006911/1.377, allocations: 2.96 MB / 1.388 GB, free: 13.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.377, allocations: 200 kB / 1.389 GB, free: 13.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/1.38, allocations: 1.779 MB / 1.39 GB, free: 12.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002536/1.38, allocations: 59.8 kB / 1.39 GB, free: 12.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/1.381, allocations: 0.844 MB / 1.391 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/1.381, allocations: 0.499 MB / 1.392 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/1.382, allocations: 254 kB / 1.392 GB, free: 11.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.382, allocations: 356.1 kB / 1.392 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/1.383, allocations: 0.593 MB / 1.393 GB, free: 10.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/1.384, allocations: 0.8009 MB / 1.394 GB, free: 10.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/1.387, allocations: 1.333 MB / 1.395 GB, free: 9.664 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/1.387, allocations: 0 / 1.395 GB, free: 9.664 MB / 1.061 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004364/1.391, allocations: 1.818 MB / 1.397 GB, free: 8.023 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.391, allocations: 10.12 kB / 1.397 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.391, allocations: 3.938 kB / 1.397 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.392, allocations: 216.2 kB / 1.397 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/1.394, allocations: 327.6 kB / 1.397 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006989/1.401, allocations: 7.321 MB / 1.404 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/1.403, allocations: 166.2 kB / 1.405 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/1.404, allocations: 59.91 kB / 1.405 GB, free: 15.22 MB / 1.076 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.001544/1.405, allocations: 487.2 kB / 1.405 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/1.406, allocations: 186.8 kB / 1.405 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/1.411, allocations: 2.129 MB / 1.407 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.411, allocations: 16 kB / 1.407 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.411, allocations: 4 kB / 1.407 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/1.411, allocations: 7.969 kB / 1.407 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008613/1.42, allocations: 3.969 MB / 1.411 GB, free: 8.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.42, allocations: 0 / 1.411 GB, free: 8.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.422, allocations: 323.5 kB / 1.412 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/1.423, allocations: 220 kB / 1.412 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/1.423, allocations: 39.97 kB / 1.412 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/1.429, allocations: 7.344 MB / 1.419 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.429, allocations: 4.031 kB / 1.419 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/1.434, allocations: 2.001 MB / 1.421 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.435, allocations: 479.5 kB / 1.421 GB, free: 13.15 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/1.436, allocations: 24 kB / 1.421 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.437, allocations: 106.1 kB / 1.422 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/1.437, allocations: 121.1 kB / 1.422 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.438, allocations: 67.94 kB / 1.422 GB, free: 12.84 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002067/1.44, allocations: 1.281 MB / 1.423 GB, free: 11.56 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.81e-07/1.44, allocations: 0 / 1.423 GB, free: 11.56 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002195/1.442, allocations: 0.6859 MB / 1.424 GB, free: 10.88 MB / 1.092 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.002019/1.444, allocations: 0.7563 MB / 1.424 GB, free: 10.3 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003713/1.448, allocations: 2.094 MB / 1.426 GB, free: 8.141 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.448, allocations: 0.5625 kB / 1.426 GB, free: 8.141 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002204/1.45, allocations: 1.414 MB / 1.428 GB, free: 6.664 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.453, allocations: 0.542 MB / 1.428 GB, free: 6.137 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/1.459, allocations: 3.777 MB / 1.432 GB, free: 2.328 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.461, allocations: 1.529 MB / 1.434 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00175/1.462, allocations: 0.4969 MB / 1.434 GB, free: 264 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/1.463, allocations: 175.3 kB / 1.434 GB, free: 88 kB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.463, allocations: 0 / 1.434 GB, free: 88 kB / 1.092 GB Notification: Performance of Templates: time 0.0551/1.518, allocations: 32.12 MB / 1.466 GB, free: 328 kB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches