Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_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_9_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.001171/0.001171, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.00116/0.00116, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.17 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.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9385/0.94, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2366/1.177, allocations: 167.2 MB / 1.252 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02497/1.202, allocations: 17.23 MB / 1.269 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/1.204, allocations: 27.81 kB / 1.269 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/1.206, allocations: 0.543 MB / 1.269 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005774/1.212, allocations: 1.71 MB / 1.271 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004105/1.216, allocations: 1.431 MB / 1.272 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003843/1.22, allocations: 2.693 MB / 1.275 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/1.223, allocations: 2.006 MB / 1.277 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/1.227, allocations: 1.443 MB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/1.229, allocations: 1.085 MB / 1.279 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006789/1.23, allocations: 220 kB / 1.28 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/1.233, allocations: 1.556 MB / 1.281 GB, free: 8.516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000942/1.234, allocations: 0.8024 MB / 1.282 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/1.236, allocations: 1.189 MB / 1.283 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005835/1.242, allocations: 3.547 MB / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/1.242, allocations: 0 / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/1.242, allocations: 0 / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001264/1.242, allocations: 0 / 1.287 GB, free: 2.957 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006491/1.249, allocations: 2.759 MB / 1.289 GB, free: 140 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.249, allocations: 8.031 kB / 1.289 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/1.253, allocations: 0.559 MB / 1.29 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/1.256, allocations: 1.639 MB / 1.291 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/1.256, allocations: 131.4 kB / 1.292 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/1.256, allocations: 168 kB / 1.292 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/1.26, allocations: 1.961 MB / 1.294 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.26, allocations: 8 kB / 1.294 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/1.26, allocations: 68 kB / 1.294 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/1.26, allocations: 40 kB / 1.294 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/1.264, allocations: 2.117 MB / 1.296 GB, free: 9.336 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.009914/1.274, allocations: 5.81 MB / 1.301 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/1.277, allocations: 2.13 MB / 1.304 GB, free: 1.051 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.279, allocations: 0.7728 MB / 1.304 GB, free: 280 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/1.279, allocations: 437.6 kB / 1.305 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/1.281, allocations: 1.013 MB / 1.306 GB, free: 14.74 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 2.866e-06/1.281, allocations: 3.938 kB / 1.306 GB, free: 14.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006771/1.288, allocations: 2.985 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/1.288, allocations: 201.2 kB / 1.309 GB, free: 11.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/1.291, allocations: 1.829 MB / 1.311 GB, free: 9.555 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/1.291, allocations: 57.7 kB / 1.311 GB, free: 9.492 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007298/1.291, allocations: 0.843 MB / 1.311 GB, free: 8.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/1.292, allocations: 489 kB / 1.312 GB, free: 8.152 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/1.292, allocations: 258.7 kB / 1.312 GB, free: 7.895 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.292, allocations: 357.9 kB / 1.313 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/1.294, allocations: 0.6077 MB / 1.313 GB, free: 6.93 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/1.295, allocations: 0.8113 MB / 1.314 GB, free: 6.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/1.298, allocations: 1.353 MB / 1.315 GB, free: 4.707 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.298, allocations: 0 / 1.315 GB, free: 4.707 MB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004165/1.302, allocations: 1.842 MB / 1.317 GB, free: 2.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.302, allocations: 7.938 kB / 1.317 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.302, allocations: 4 kB / 1.317 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.303, allocations: 212.1 kB / 1.317 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.304, allocations: 339.6 kB / 1.318 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/1.311, allocations: 7.316 MB / 1.325 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.313, allocations: 162.8 kB / 1.325 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/1.313, allocations: 63.95 kB / 1.325 GB, free: 10.03 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 (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.001069/1.314, allocations: 495.2 kB / 1.325 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/1.314, allocations: 181.8 kB / 1.326 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/1.319, allocations: 2.148 MB / 1.328 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.319, allocations: 20 kB / 1.328 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.319, allocations: 0 / 1.328 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/1.319, allocations: 7.969 kB / 1.328 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/1.326, allocations: 4.01 MB / 1.332 GB, free: 3.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.326, allocations: 3.938 kB / 1.332 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.327, allocations: 327.6 kB / 1.332 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008635/1.328, allocations: 196.1 kB / 1.332 GB, free: 2.531 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.78e-05/1.328, allocations: 47.91 kB / 1.332 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005899/1.334, allocations: 7.355 MB / 1.339 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.334, allocations: 3.938 kB / 1.339 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/1.339, allocations: 2.012 MB / 1.341 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008835/1.34, allocations: 474.2 kB / 1.342 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/1.34, allocations: 35.94 kB / 1.342 GB, free: 7.852 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.341, allocations: 106.1 kB / 1.342 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/1.341, allocations: 117.1 kB / 1.342 GB, free: 7.637 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.341, allocations: 75.89 kB / 1.342 GB, free: 7.562 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00172/1.343, allocations: 1.306 MB / 1.343 GB, free: 6.262 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.343, allocations: 0 / 1.343 GB, free: 6.262 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001683/1.345, allocations: 0.6625 MB / 1.344 GB, free: 5.598 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.001752/1.347, allocations: 0.7433 MB / 1.345 GB, free: 5.039 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003666/1.35, allocations: 2.105 MB / 1.347 GB, free: 2.867 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.35, allocations: 8.547 kB / 1.347 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/1.352, allocations: 1.426 MB / 1.348 GB, free: 1.371 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.355, allocations: 0.5301 MB / 1.349 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/1.362, allocations: 3.91 MB / 1.353 GB, free: 12.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.363, allocations: 1.494 MB / 1.354 GB, free: 11.39 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/1.364, allocations: 191.3 kB / 1.354 GB, free: 11.21 MB / 1.092 GB Notification: Performance of SimCode: time 4.61e-07/1.364, allocations: 0 / 1.354 GB, free: 11.21 MB / 1.092 GB Notification: Performance of Templates: time 0.07578/1.44, allocations: 67.43 MB / 1.42 GB, free: 7.824 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches