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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007429/0.007429, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001773/0.001773, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 70.7 kB / 0.9508 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2842, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1866/0.4709, allocations: 167.2 MB / 1.251 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6568/1.128, allocations: 17.18 MB / 1.268 GB, free: 3.633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/1.13, allocations: 31.38 kB / 1.268 GB, free: 3.633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/1.131, allocations: 0.526 MB / 1.268 GB, free: 3.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005644/1.137, allocations: 1.684 MB / 1.27 GB, free: 3.598 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/1.141, allocations: 1.423 MB / 1.272 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004031/1.145, allocations: 2.661 MB / 1.274 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/1.148, allocations: 1.999 MB / 1.276 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/1.152, allocations: 1.384 MB / 1.277 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/1.155, allocations: 1.081 MB / 1.278 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000475/1.155, allocations: 220.9 kB / 1.279 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/1.159, allocations: 1.549 MB / 1.28 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008459/1.159, allocations: 0.8001 MB / 1.281 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001975/1.161, allocations: 1.177 MB / 1.282 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006393/1.168, allocations: 3.519 MB / 1.286 GB, free: 2.648 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.168, allocations: 0.8438 kB / 1.286 GB, free: 2.648 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.522e-06/1.168, allocations: 0 / 1.286 GB, free: 2.648 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.859e-05/1.168, allocations: 2.156 kB / 1.286 GB, free: 2.648 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.005391/1.173, allocations: 2.719 MB / 1.288 GB, free: 1.328 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.173, allocations: 10.34 kB / 1.288 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/1.177, allocations: 0.5527 MB / 1.289 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.18, allocations: 1.638 MB / 1.29 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/1.18, allocations: 131.3 kB / 1.291 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/1.18, allocations: 166.8 kB / 1.291 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/1.184, allocations: 1.942 MB / 1.293 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/1.184, allocations: 3.75 kB / 1.293 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/1.184, allocations: 75.09 kB / 1.293 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/1.184, allocations: 40.72 kB / 1.293 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/1.188, allocations: 2.093 MB / 1.295 GB, free: 0.5273 MB / 1.014 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.009359/1.198, allocations: 5.649 MB / 1.3 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/1.201, allocations: 2.093 MB / 1.302 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/1.202, allocations: 0.761 MB / 1.303 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/1.203, allocations: 429 kB / 1.303 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/1.205, allocations: 1.011 MB / 1.304 GB, free: 13.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.627e-06/1.205, allocations: 1.125 kB / 1.304 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.00693/1.212, allocations: 2.951 MB / 1.307 GB, free: 13.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.212, allocations: 198.3 kB / 1.307 GB, free: 12.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/1.215, allocations: 1.783 MB / 1.309 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/1.215, allocations: 63.14 kB / 1.309 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/1.216, allocations: 0.8334 MB / 1.31 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/1.216, allocations: 485.5 kB / 1.311 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005344/1.217, allocations: 251.7 kB / 1.311 GB, free: 12.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.217, allocations: 359.9 kB / 1.311 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/1.218, allocations: 0.5914 MB / 1.312 GB, free: 11.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/1.22, allocations: 0.7992 MB / 1.313 GB, free: 11.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/1.222, allocations: 1.33 MB / 1.314 GB, free: 11.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.222, allocations: 1.688 kB / 1.314 GB, free: 11.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004186/1.227, allocations: 1.805 MB / 1.316 GB, free: 11.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.227, allocations: 10.03 kB / 1.316 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/1.227, allocations: 0.8125 kB / 1.316 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/1.228, allocations: 220.3 kB / 1.316 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.229, allocations: 333.1 kB / 1.316 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/1.235, allocations: 7.318 MB / 1.323 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.237, allocations: 158.4 kB / 1.323 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.237, allocations: 56.92 kB / 1.323 GB, free: 4.473 MB / 1.029 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.001255/1.239, allocations: 491.9 kB / 1.324 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/1.239, allocations: 176.2 kB / 1.324 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/1.243, allocations: 2.124 MB / 1.326 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.243, allocations: 16.09 kB / 1.326 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.243, allocations: 2.531 kB / 1.326 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/1.243, allocations: 9.188 kB / 1.326 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007009/1.25, allocations: 3.98 MB / 1.33 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.251, allocations: 0.9688 kB / 1.33 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.252, allocations: 323.3 kB / 1.33 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008521/1.253, allocations: 203.7 kB / 1.331 GB, free: 3.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.253, allocations: 46.8 kB / 1.331 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005812/1.259, allocations: 7.348 MB / 1.338 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.259, allocations: 0 / 1.338 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/1.263, allocations: 1.989 MB / 1.34 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.264, allocations: 469.2 kB / 1.34 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/1.265, allocations: 33.91 kB / 1.34 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.266, allocations: 98.88 kB / 1.34 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.266, allocations: 111.2 kB / 1.34 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.266, allocations: 68.91 kB / 1.34 GB, free: 10.69 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001641/1.268, allocations: 1.283 MB / 1.342 GB, free: 10.25 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.71e-07/1.268, allocations: 0 / 1.342 GB, free: 10.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002064/1.27, allocations: 0.6711 MB / 1.342 GB, free: 10.07 MB / 1.045 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.001791/1.272, allocations: 0.7492 MB / 1.343 GB, free: 9.801 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003319/1.275, allocations: 2.082 MB / 1.345 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.275, allocations: 2.5 kB / 1.345 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/1.277, allocations: 1.417 MB / 1.347 GB, free: 7.996 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.28, allocations: 0.519 MB / 1.347 GB, free: 7.801 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/1.288, allocations: 3.815 MB / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.289, allocations: 1.532 MB / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002205/1.291, allocations: 0.4931 MB / 1.353 GB, free: 5.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/1.292, allocations: 172.2 kB / 1.353 GB, free: 5.109 MB / 1.045 GB Notification: Performance of SimCode: time 8.91e-07/1.292, allocations: 3.938 kB / 1.353 GB, free: 5.105 MB / 1.045 GB Notification: Performance of Templates: time 0.05584/1.348, allocations: 30.99 MB / 1.383 GB, free: 1.168 MB / 1.061 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