Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006445/0.006445, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001182/0.001182, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2922, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8023/1.095, allocations: 168.4 MB / 1.372 GB, free: 192 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0244/1.119, allocations: 17.36 MB / 1.389 GB, free: 3.039 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/1.122, allocations: 31.19 kB / 1.389 GB, free: 3.027 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/1.123, allocations: 0.5873 MB / 1.39 GB, free: 2.531 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006703/1.13, allocations: 1.816 MB / 1.392 GB, free: 1.176 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/1.135, allocations: 1.445 MB / 1.393 GB, free: 92 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004699/1.139, allocations: 2.908 MB / 1.396 GB, free: 14.35 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/1.142, allocations: 1.949 MB / 1.398 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/1.147, allocations: 1.471 MB / 1.399 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/1.149, allocations: 1.12 MB / 1.4 GB, free: 11.49 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/1.149, allocations: 221.8 kB / 1.4 GB, free: 11.49 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/1.153, allocations: 1.564 MB / 1.402 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007522/1.154, allocations: 0.7944 MB / 1.403 GB, free: 10.19 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.156, allocations: 1.233 MB / 1.404 GB, free: 9.32 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005633/1.161, allocations: 3.607 MB / 1.407 GB, free: 6.848 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.161, allocations: 0 / 1.407 GB, free: 6.848 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.899e-06/1.161, allocations: 0 / 1.407 GB, free: 6.848 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.884e-05/1.162, allocations: 3.938 kB / 1.407 GB, free: 6.844 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004878/1.166, allocations: 2.78 MB / 1.41 GB, free: 4.812 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.166, allocations: 11.16 kB / 1.41 GB, free: 4.812 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/1.17, allocations: 0.5578 MB / 1.411 GB, free: 4.551 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/1.172, allocations: 1.642 MB / 1.412 GB, free: 3.402 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/1.172, allocations: 129.6 kB / 1.412 GB, free: 3.344 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/1.173, allocations: 169.1 kB / 1.413 GB, free: 3.289 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/1.176, allocations: 1.96 MB / 1.415 GB, free: 2.145 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.176, allocations: 0 / 1.415 GB, free: 2.145 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/1.176, allocations: 78.25 kB / 1.415 GB, free: 2.086 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/1.176, allocations: 46.59 kB / 1.415 GB, free: 2.082 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/1.179, allocations: 2.119 MB / 1.417 GB, free: 0.7734 MB / 1.092 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.008968/1.188, allocations: 6.181 MB / 1.423 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003473/1.192, allocations: 2.14 MB / 1.425 GB, free: 8.027 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/1.193, allocations: 0.7693 MB / 1.426 GB, free: 7.262 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/1.194, allocations: 437.6 kB / 1.426 GB, free: 6.758 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001775/1.195, allocations: 1.017 MB / 1.427 GB, free: 5.723 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/1.195, allocations: 0 / 1.427 GB, free: 5.723 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.007041/1.202, allocations: 2.985 MB / 1.43 GB, free: 2.625 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.203, allocations: 201.2 kB / 1.43 GB, free: 2.383 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/1.205, allocations: 1.826 MB / 1.432 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/1.206, allocations: 57.7 kB / 1.432 GB, free: 496 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008009/1.206, allocations: 0.843 MB / 1.433 GB, free: 15.62 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/1.207, allocations: 488.9 kB / 1.433 GB, free: 15.14 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/1.207, allocations: 254.8 kB / 1.434 GB, free: 14.89 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.207, allocations: 361.9 kB / 1.434 GB, free: 14.53 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/1.209, allocations: 0.6038 MB / 1.434 GB, free: 13.93 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/1.21, allocations: 0.8092 MB / 1.435 GB, free: 13.07 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/1.213, allocations: 1.353 MB / 1.437 GB, free: 11.7 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.213, allocations: 8 kB / 1.437 GB, free: 11.7 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004203/1.217, allocations: 1.834 MB / 1.438 GB, free: 9.836 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/1.217, allocations: 7.938 kB / 1.438 GB, free: 9.828 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.217, allocations: 7.984 kB / 1.438 GB, free: 9.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.218, allocations: 212.1 kB / 1.439 GB, free: 9.598 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.22, allocations: 335.6 kB / 1.439 GB, free: 9.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/1.226, allocations: 7.334 MB / 1.446 GB, free: 1.234 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/1.228, allocations: 174.9 kB / 1.446 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.228, allocations: 55.95 kB / 1.446 GB, free: 1.008 MB / 1.123 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 (153): * Single equations (assignments): 148 * 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.001199/1.229, allocations: 495.1 kB / 1.447 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/1.23, allocations: 185.8 kB / 1.447 GB, free: 336 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/1.234, allocations: 2.129 MB / 1.449 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.234, allocations: 19.98 kB / 1.449 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.234, allocations: 4 kB / 1.449 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/1.234, allocations: 7.969 kB / 1.449 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006911/1.241, allocations: 4.009 MB / 1.453 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.241, allocations: 0 / 1.453 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.243, allocations: 323.5 kB / 1.453 GB, free: 9.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008729/1.244, allocations: 208 kB / 1.453 GB, free: 9.512 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.244, allocations: 39.97 kB / 1.453 GB, free: 9.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005641/1.249, allocations: 7.359 MB / 1.461 GB, free: 1.406 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.249, allocations: 7.875 kB / 1.461 GB, free: 1.398 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/1.254, allocations: 2.012 MB / 1.463 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.255, allocations: 474.3 kB / 1.463 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/1.255, allocations: 28 kB / 1.463 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.256, allocations: 106.1 kB / 1.463 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.257, allocations: 121.1 kB / 1.463 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.257, allocations: 67.95 kB / 1.463 GB, free: 14.55 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00174/1.259, allocations: 1.306 MB / 1.465 GB, free: 13.25 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/1.259, allocations: 8 kB / 1.465 GB, free: 13.24 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001801/1.26, allocations: 0.682 MB / 1.465 GB, free: 12.56 MB / 1.154 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.001807/1.262, allocations: 0.7358 MB / 1.466 GB, free: 12 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003719/1.266, allocations: 2.117 MB / 1.468 GB, free: 9.82 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.266, allocations: 0.5625 kB / 1.468 GB, free: 9.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/1.268, allocations: 1.43 MB / 1.47 GB, free: 8.328 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.271, allocations: 0.5538 MB / 1.47 GB, free: 7.801 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/1.278, allocations: 3.847 MB / 1.474 GB, free: 3.914 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.279, allocations: 1.534 MB / 1.475 GB, free: 2.352 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001622/1.281, allocations: 0.5009 MB / 1.476 GB, free: 1.844 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/1.281, allocations: 183.3 kB / 1.476 GB, free: 1.664 MB / 1.154 GB Notification: Performance of SimCode: time 7.32e-07/1.281, allocations: 0 / 1.476 GB, free: 1.664 MB / 1.154 GB Notification: Performance of Templates: time 0.05322/1.334, allocations: 32.45 MB / 1.508 GB, free: 1.539 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches