Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009563/0.009563, allocations: 101.1 kB / 15.73 MB, free: 5.98 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.001941/0.001941, allocations: 192.6 kB / 16.67 MB, free: 5.91 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.562/2.562, allocations: 469.8 MB / 0.7425 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.9077, allocations: 159.1 MB / 1.221 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1953/1.103, allocations: 168.9 MB / 1.386 GB, free: 8.578 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02712/1.13, allocations: 17.39 MB / 1.403 GB, free: 7.129 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/1.132, allocations: 31.81 kB / 1.403 GB, free: 7.098 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/1.135, allocations: 0.5934 MB / 1.403 GB, free: 6.5 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007836/1.143, allocations: 1.814 MB / 1.405 GB, free: 4.684 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004413/1.147, allocations: 1.455 MB / 1.406 GB, free: 3.242 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004314/1.151, allocations: 2.883 MB / 1.409 GB, free: 356 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/1.155, allocations: 1.6 MB / 1.411 GB, free: 14.69 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/1.159, allocations: 1.488 MB / 1.412 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/1.161, allocations: 1.117 MB / 1.413 GB, free: 12.12 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007722/1.162, allocations: 224 kB / 1.413 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/1.166, allocations: 1.564 MB / 1.415 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/1.167, allocations: 0.8023 MB / 1.416 GB, free: 9.535 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002555/1.169, allocations: 1.22 MB / 1.417 GB, free: 8.309 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008045/1.177, allocations: 3.635 MB / 1.421 GB, free: 4.66 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.177, allocations: 0 / 1.421 GB, free: 4.66 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.653e-06/1.177, allocations: 0 / 1.421 GB, free: 4.66 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001442/1.177, allocations: 0 / 1.421 GB, free: 4.66 MB / 1.139 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.00686/1.184, allocations: 2.868 MB / 1.423 GB, free: 1.727 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.184, allocations: 8.031 kB / 1.423 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/1.188, allocations: 0.5798 MB / 1.424 GB, free: 1.137 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/1.191, allocations: 1.648 MB / 1.426 GB, free: 15.43 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-05/1.191, allocations: 131.4 kB / 1.426 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/1.191, allocations: 164 kB / 1.426 GB, free: 15.14 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003473/1.195, allocations: 1.965 MB / 1.428 GB, free: 13.13 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/1.195, allocations: 3.984 kB / 1.428 GB, free: 13.12 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/1.195, allocations: 72 kB / 1.428 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/1.195, allocations: 40 kB / 1.428 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/1.199, allocations: 2.117 MB / 1.43 GB, free: 10.89 MB / 1.154 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.01049/1.209, allocations: 6.194 MB / 1.436 GB, free: 4.359 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/1.213, allocations: 2.046 MB / 1.438 GB, free: 2.238 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/1.214, allocations: 0.7178 MB / 1.439 GB, free: 1.52 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/1.215, allocations: 445.5 kB / 1.439 GB, free: 1.008 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/1.216, allocations: 1.016 MB / 1.44 GB, free: 15.98 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/1.216, allocations: 0 / 1.44 GB, free: 15.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.0071/1.223, allocations: 2.997 MB / 1.443 GB, free: 12.87 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.224, allocations: 197.2 kB / 1.443 GB, free: 12.63 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/1.226, allocations: 1.833 MB / 1.445 GB, free: 10.79 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/1.226, allocations: 57.7 kB / 1.445 GB, free: 10.72 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000702/1.227, allocations: 0.8522 MB / 1.446 GB, free: 9.859 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/1.227, allocations: 0.5034 MB / 1.446 GB, free: 9.352 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/1.228, allocations: 262.8 kB / 1.447 GB, free: 9.09 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.228, allocations: 357.9 kB / 1.447 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.229, allocations: 0.6038 MB / 1.448 GB, free: 8.129 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/1.23, allocations: 0.8092 MB / 1.448 GB, free: 7.27 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/1.233, allocations: 1.357 MB / 1.45 GB, free: 5.898 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.233, allocations: 8 kB / 1.45 GB, free: 5.891 MB / 1.17 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00409/1.237, allocations: 1.843 MB / 1.451 GB, free: 4.023 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.237, allocations: 11.94 kB / 1.451 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.237, allocations: 0 / 1.451 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.238, allocations: 212.1 kB / 1.452 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.24, allocations: 335.6 kB / 1.452 GB, free: 3.461 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/1.245, allocations: 7.325 MB / 1.459 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.248, allocations: 167.1 kB / 1.459 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/1.248, allocations: 59.95 kB / 1.459 GB, free: 11.21 MB / 1.186 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.00121/1.249, allocations: 487.1 kB / 1.46 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/1.249, allocations: 198.7 kB / 1.46 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/1.254, allocations: 2.145 MB / 1.462 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.254, allocations: 12 kB / 1.462 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.254, allocations: 4 kB / 1.462 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/1.254, allocations: 7.969 kB / 1.462 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007404/1.261, allocations: 4.01 MB / 1.466 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.261, allocations: 3.938 kB / 1.466 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.263, allocations: 319.5 kB / 1.466 GB, free: 3.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008748/1.264, allocations: 204.1 kB / 1.467 GB, free: 3.711 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.264, allocations: 39.97 kB / 1.467 GB, free: 3.672 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007194/1.271, allocations: 7.355 MB / 1.474 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.271, allocations: 3.938 kB / 1.474 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/1.276, allocations: 2.021 MB / 1.476 GB, free: 9.547 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.277, allocations: 483.2 kB / 1.476 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/1.277, allocations: 35.98 kB / 1.476 GB, free: 9.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.279, allocations: 106 kB / 1.476 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/1.279, allocations: 113.1 kB / 1.476 GB, free: 8.809 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.279, allocations: 75.94 kB / 1.477 GB, free: 8.734 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001789/1.281, allocations: 1.302 MB / 1.478 GB, free: 7.438 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.281, allocations: 3.938 kB / 1.478 GB, free: 7.434 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0022/1.283, allocations: 0.6938 MB / 1.478 GB, free: 6.738 MB / 1.201 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.001965/1.285, allocations: 0.7701 MB / 1.479 GB, free: 6.152 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003704/1.289, allocations: 2.051 MB / 1.481 GB, free: 4.035 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.289, allocations: 0.5625 kB / 1.481 GB, free: 4.031 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/1.291, allocations: 1.375 MB / 1.483 GB, free: 2.594 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.293, allocations: 0.5509 MB / 1.483 GB, free: 2.066 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/1.3, allocations: 3.918 MB / 1.487 GB, free: 14.11 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.301, allocations: 1.541 MB / 1.488 GB, free: 12.54 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001814/1.303, allocations: 0.4931 MB / 1.489 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/1.304, allocations: 175.4 kB / 1.489 GB, free: 11.87 MB / 1.217 GB Notification: Performance of SimCode: time 1.102e-06/1.304, allocations: 0 / 1.489 GB, free: 11.87 MB / 1.217 GB Notification: Performance of Templates: time 0.06082/1.364, allocations: 32.67 MB / 1.521 GB, free: 11.57 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches