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.00129/0.00129, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001289/0.001289, allocations: 183 kB / 17.34 MB, free: 5.742 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.16 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.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8793/0.8809, allocations: 140.4 MB / 1.089 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2093/1.09, allocations: 167.2 MB / 1.252 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02445/1.115, allocations: 17.2 MB / 1.269 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/1.117, allocations: 31.81 kB / 1.269 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/1.119, allocations: 0.5509 MB / 1.269 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005793/1.125, allocations: 1.706 MB / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/1.129, allocations: 1.421 MB / 1.272 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004428/1.134, allocations: 2.673 MB / 1.275 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/1.137, allocations: 2.01 MB / 1.277 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004531/1.142, allocations: 1.428 MB / 1.278 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/1.143, allocations: 1.081 MB / 1.279 GB, free: 10.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000776/1.144, allocations: 228 kB / 1.28 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/1.148, allocations: 1.548 MB / 1.281 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/1.149, allocations: 0.7907 MB / 1.282 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002097/1.151, allocations: 1.17 MB / 1.283 GB, free: 6.766 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006501/1.158, allocations: 3.532 MB / 1.286 GB, free: 3.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.158, allocations: 0 / 1.286 GB, free: 3.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/1.158, allocations: 0 / 1.286 GB, free: 3.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001055/1.158, allocations: 0 / 1.286 GB, free: 3.223 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.006149/1.164, allocations: 2.721 MB / 1.289 GB, free: 444 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.164, allocations: 12.03 kB / 1.289 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/1.168, allocations: 0.5552 MB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/1.172, allocations: 1.63 MB / 1.291 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/1.172, allocations: 123.4 kB / 1.291 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/1.172, allocations: 172 kB / 1.291 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/1.176, allocations: 1.937 MB / 1.293 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.176, allocations: 0 / 1.293 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.176, allocations: 76 kB / 1.293 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/1.176, allocations: 44 kB / 1.293 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/1.18, allocations: 2.093 MB / 1.296 GB, free: 9.688 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.009736/1.19, allocations: 5.649 MB / 1.301 GB, free: 3.777 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/1.193, allocations: 2.097 MB / 1.303 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.195, allocations: 0.7574 MB / 1.304 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000695/1.196, allocations: 433.6 kB / 1.304 GB, free: 352 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/1.197, allocations: 1.02 MB / 1.305 GB, free: 15.3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 4.108e-06/1.198, allocations: 0 / 1.305 GB, free: 15.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.007343/1.205, allocations: 2.946 MB / 1.308 GB, free: 12.24 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.205, allocations: 201.2 kB / 1.308 GB, free: 12 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/1.208, allocations: 1.788 MB / 1.31 GB, free: 10.2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003746/1.209, allocations: 53.7 kB / 1.31 GB, free: 10.14 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008873/1.209, allocations: 0.8349 MB / 1.311 GB, free: 9.297 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000713/1.21, allocations: 480.9 kB / 1.311 GB, free: 8.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000612/1.211, allocations: 258.8 kB / 1.312 GB, free: 8.562 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.211, allocations: 361.9 kB / 1.312 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.212, allocations: 0.5882 MB / 1.313 GB, free: 7.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/1.214, allocations: 0.8014 MB / 1.313 GB, free: 6.762 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/1.216, allocations: 1.329 MB / 1.315 GB, free: 5.426 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.216, allocations: 0 / 1.315 GB, free: 5.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004474/1.221, allocations: 1.803 MB / 1.316 GB, free: 3.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/1.221, allocations: 19.91 kB / 1.316 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.221, allocations: 0 / 1.316 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/1.222, allocations: 212.1 kB / 1.317 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.224, allocations: 335.6 kB / 1.317 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007408/1.231, allocations: 7.3 MB / 1.324 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/1.233, allocations: 171 kB / 1.324 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/1.234, allocations: 59.95 kB / 1.324 GB, free: 10.79 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.001354/1.235, allocations: 487.2 kB / 1.325 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006305/1.236, allocations: 177.8 kB / 1.325 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/1.241, allocations: 2.125 MB / 1.327 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/1.241, allocations: 19.94 kB / 1.327 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.241, allocations: 3.984 kB / 1.327 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.241, allocations: 3.984 kB / 1.327 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/1.249, allocations: 3.98 MB / 1.331 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.249, allocations: 0 / 1.331 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.251, allocations: 323.5 kB / 1.331 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009402/1.252, allocations: 208.1 kB / 1.331 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.252, allocations: 43.95 kB / 1.331 GB, free: 3.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006928/1.259, allocations: 7.344 MB / 1.339 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.259, allocations: 3.938 kB / 1.339 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005227/1.264, allocations: 1.989 MB / 1.341 GB, free: 9.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.265, allocations: 466.4 kB / 1.341 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/1.266, allocations: 31.98 kB / 1.341 GB, free: 8.723 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.267, allocations: 105.4 kB / 1.341 GB, free: 8.621 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/1.268, allocations: 109.2 kB / 1.341 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.268, allocations: 71.94 kB / 1.341 GB, free: 8.441 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002085/1.27, allocations: 1.288 MB / 1.343 GB, free: 7.156 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.3e-07/1.27, allocations: 0 / 1.343 GB, free: 7.156 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002471/1.272, allocations: 0.6624 MB / 1.343 GB, free: 6.492 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.002094/1.274, allocations: 0.7477 MB / 1.344 GB, free: 5.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004028/1.279, allocations: 2.078 MB / 1.346 GB, free: 3.785 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.279, allocations: 12.5 kB / 1.346 GB, free: 3.773 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/1.281, allocations: 1.414 MB / 1.347 GB, free: 2.297 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/1.284, allocations: 0.5246 MB / 1.348 GB, free: 1.793 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008903/1.293, allocations: 3.754 MB / 1.352 GB, free: 14.01 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.295, allocations: 1.486 MB / 1.353 GB, free: 12.49 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009119/1.296, allocations: 199.3 kB / 1.353 GB, free: 12.29 MB / 1.092 GB Notification: Performance of SimCode: time 1.012e-06/1.296, allocations: 0 / 1.353 GB, free: 12.29 MB / 1.092 GB Notification: Performance of Templates: time 0.08598/1.382, allocations: 66.76 MB / 1.418 GB, free: 9.578 MB / 1.154 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/jenkins1/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