Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001855/0.001855, allocations: 111.5 kB / 16.4 MB, free: 6.387 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.001938/0.001938, allocations: 190.4 kB / 17.33 MB, free: 5.836 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 68.11 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8851, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2123/1.097, allocations: 168.5 MB / 1.332 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02544/1.123, allocations: 17.36 MB / 1.349 GB, free: 9.262 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/1.125, allocations: 35.81 kB / 1.349 GB, free: 9.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/1.127, allocations: 0.5856 MB / 1.349 GB, free: 8.637 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007291/1.135, allocations: 1.825 MB / 1.351 GB, free: 6.809 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004555/1.139, allocations: 1.447 MB / 1.353 GB, free: 5.375 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004817/1.144, allocations: 2.891 MB / 1.355 GB, free: 2.477 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/1.147, allocations: 1.944 MB / 1.357 GB, free: 496 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/1.152, allocations: 1.477 MB / 1.359 GB, free: 15.05 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/1.154, allocations: 1.117 MB / 1.36 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005132/1.155, allocations: 224 kB / 1.36 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/1.158, allocations: 1.564 MB / 1.362 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009083/1.159, allocations: 0.7946 MB / 1.362 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/1.161, allocations: 1.236 MB / 1.364 GB, free: 10.11 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006035/1.167, allocations: 3.627 MB / 1.367 GB, free: 6.465 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.167, allocations: 0 / 1.367 GB, free: 6.465 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.803e-06/1.167, allocations: 0 / 1.367 GB, free: 6.465 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.086e-05/1.167, allocations: 0 / 1.367 GB, free: 6.465 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.005894/1.173, allocations: 2.86 MB / 1.37 GB, free: 3.539 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.173, allocations: 12.92 kB / 1.37 GB, free: 3.527 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003769/1.177, allocations: 0.576 MB / 1.37 GB, free: 2.949 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/1.18, allocations: 1.652 MB / 1.372 GB, free: 1.246 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/1.181, allocations: 127.4 kB / 1.372 GB, free: 1.121 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/1.181, allocations: 179.9 kB / 1.372 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/1.185, allocations: 1.949 MB / 1.374 GB, free: 14.94 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.185, allocations: 4 kB / 1.374 GB, free: 14.94 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/1.185, allocations: 75.98 kB / 1.374 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/1.185, allocations: 40 kB / 1.374 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004125/1.189, allocations: 2.109 MB / 1.376 GB, free: 12.71 MB / 1.107 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.01093/1.2, allocations: 6.218 MB / 1.383 GB, free: 6.152 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/1.204, allocations: 2.119 MB / 1.385 GB, free: 3.945 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/1.206, allocations: 0.7726 MB / 1.385 GB, free: 3.176 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/1.206, allocations: 441.5 kB / 1.386 GB, free: 2.668 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/1.208, allocations: 1.019 MB / 1.387 GB, free: 1.633 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/1.208, allocations: 0 / 1.387 GB, free: 1.633 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.007583/1.216, allocations: 3.005 MB / 1.39 GB, free: 14.52 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/1.216, allocations: 197.2 kB / 1.39 GB, free: 14.28 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/1.219, allocations: 1.826 MB / 1.392 GB, free: 12.44 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/1.219, allocations: 57.7 kB / 1.392 GB, free: 12.38 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009418/1.22, allocations: 0.856 MB / 1.393 GB, free: 11.51 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/1.221, allocations: 0.5034 MB / 1.393 GB, free: 11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004632/1.221, allocations: 266.8 kB / 1.393 GB, free: 10.74 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.221, allocations: 353.9 kB / 1.394 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.223, allocations: 0.6077 MB / 1.394 GB, free: 9.777 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.224, allocations: 0.813 MB / 1.395 GB, free: 8.914 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/1.227, allocations: 1.36 MB / 1.396 GB, free: 7.539 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.227, allocations: 0 / 1.396 GB, free: 7.539 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004461/1.232, allocations: 1.843 MB / 1.398 GB, free: 5.672 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.232, allocations: 7.938 kB / 1.398 GB, free: 5.664 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.232, allocations: 4 kB / 1.398 GB, free: 5.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.233, allocations: 208.2 kB / 1.398 GB, free: 5.441 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.235, allocations: 343.5 kB / 1.399 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00799/1.243, allocations: 7.323 MB / 1.406 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/1.244, allocations: 173.1 kB / 1.406 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/1.245, allocations: 59.95 kB / 1.406 GB, free: 12.86 MB / 1.139 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.001096/1.246, allocations: 483.2 kB / 1.407 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/1.246, allocations: 194.8 kB / 1.407 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/1.252, allocations: 2.156 MB / 1.409 GB, free: 10 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.252, allocations: 16 kB / 1.409 GB, free: 9.988 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.252, allocations: 4 kB / 1.409 GB, free: 9.984 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/1.252, allocations: 7.969 kB / 1.409 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/1.26, allocations: 4.01 MB / 1.413 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.26, allocations: 7.922 kB / 1.413 GB, free: 5.879 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.262, allocations: 323.5 kB / 1.413 GB, free: 5.562 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009565/1.262, allocations: 200.1 kB / 1.413 GB, free: 5.352 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.263, allocations: 39.97 kB / 1.413 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007779/1.27, allocations: 7.356 MB / 1.421 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.27, allocations: 3.938 kB / 1.421 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/1.275, allocations: 2.021 MB / 1.422 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.276, allocations: 487.2 kB / 1.423 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/1.277, allocations: 32 kB / 1.423 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.278, allocations: 106.7 kB / 1.423 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.278, allocations: 113.1 kB / 1.423 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.278, allocations: 71.95 kB / 1.423 GB, free: 10.38 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00208/1.281, allocations: 1.314 MB / 1.425 GB, free: 9.074 MB / 1.154 GB Notification: Performance of sort global known variables: time 4e-07/1.281, allocations: 0 / 1.425 GB, free: 9.074 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002017/1.283, allocations: 0.6898 MB / 1.425 GB, free: 8.383 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.002604/1.285, allocations: 0.771 MB / 1.426 GB, free: 7.766 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004493/1.29, allocations: 2.102 MB / 1.428 GB, free: 5.598 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.29, allocations: 0.5625 kB / 1.428 GB, free: 5.598 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/1.292, allocations: 1.43 MB / 1.429 GB, free: 4.105 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.295, allocations: 0.5447 MB / 1.43 GB, free: 3.578 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/1.304, allocations: 3.907 MB / 1.434 GB, free: 15.62 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.306, allocations: 1.545 MB / 1.435 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001937/1.308, allocations: 0.4969 MB / 1.436 GB, free: 13.54 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/1.308, allocations: 175.3 kB / 1.436 GB, free: 13.37 MB / 1.17 GB Notification: Performance of SimCode: time 7.72e-07/1.308, allocations: 0 / 1.436 GB, free: 13.37 MB / 1.17 GB Notification: Performance of Templates: time 0.06358/1.372, allocations: 32.63 MB / 1.468 GB, free: 13.04 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches