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.001322/0.001322, allocations: 105.1 kB / 15.99 MB, free: 5.891 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.00126/0.00126, allocations: 188.8 kB / 16.91 MB, free: 5.746 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.8 kB / 0.9087 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.331, allocations: 159.2 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1961/0.5271, allocations: 166.1 MB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02286/0.55, allocations: 17.16 MB / 1.243 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.5517, allocations: 31.81 kB / 1.243 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.5534, allocations: 489 kB / 1.244 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.5583, allocations: 1.631 MB / 1.245 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.5621, allocations: 1.309 MB / 1.247 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004142/0.5662, allocations: 2.887 MB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6095/1.176, allocations: 1.933 MB / 1.251 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006616/1.182, allocations: 1.428 MB / 1.253 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/1.185, allocations: 1.162 MB / 1.254 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006448/1.185, allocations: 221 kB / 1.254 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/1.189, allocations: 1.563 MB / 1.255 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007314/1.19, allocations: 0.797 MB / 1.256 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/1.191, allocations: 1.226 MB / 1.257 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/1.195, allocations: 2.704 MB / 1.26 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.195, allocations: 3.047 kB / 1.26 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/1.195, allocations: 0 / 1.26 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.416e-05/1.196, allocations: 0.9375 kB / 1.26 GB, free: 5.867 MB / 0.9981 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.006245/1.202, allocations: 2.788 MB / 1.263 GB, free: 20.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.202, allocations: 8.906 kB / 1.263 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/1.206, allocations: 0.5611 MB / 1.263 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/1.209, allocations: 1.601 MB / 1.265 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.209, allocations: 135.5 kB / 1.265 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/1.21, allocations: 165.8 kB / 1.265 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/1.214, allocations: 1.957 MB / 1.267 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/1.214, allocations: 0 / 1.267 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/1.214, allocations: 75.12 kB / 1.267 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-05/1.214, allocations: 42.22 kB / 1.267 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004221/1.218, allocations: 2.115 MB / 1.269 GB, free: 19.75 MB / 1.014 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.01297/1.231, allocations: 6.234 MB / 1.275 GB, free: 17.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00353/1.235, allocations: 2.139 MB / 1.277 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/1.236, allocations: 0.7748 MB / 1.278 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006882/1.237, allocations: 432.8 kB / 1.279 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/1.239, allocations: 1.019 MB / 1.28 GB, free: 16.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/1.239, allocations: 0 / 1.28 GB, free: 16.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007102/1.246, allocations: 2.986 MB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.246, allocations: 205.6 kB / 1.283 GB, free: 15.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/1.249, allocations: 1.832 MB / 1.285 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000307/1.249, allocations: 57.11 kB / 1.285 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/1.25, allocations: 0.8438 MB / 1.285 GB, free: 15.15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000409/1.25, allocations: 493.9 kB / 1.286 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004334/1.251, allocations: 257.2 kB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.251, allocations: 355.2 kB / 1.286 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.252, allocations: 0.6068 MB / 1.287 GB, free: 14.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.253, allocations: 0.8154 MB / 1.288 GB, free: 14.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/1.256, allocations: 1.354 MB / 1.289 GB, free: 14.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.256, allocations: 1.375 kB / 1.289 GB, free: 14.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00432/1.26, allocations: 1.841 MB / 1.291 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.26, allocations: 6.156 kB / 1.291 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.26, allocations: 0 / 1.291 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.261, allocations: 213.5 kB / 1.291 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.263, allocations: 338.1 kB / 1.292 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/1.269, allocations: 7.337 MB / 1.299 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/1.272, allocations: 183.3 kB / 1.299 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/1.272, allocations: 57.27 kB / 1.299 GB, free: 7.234 MB / 1.014 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.001216/1.273, allocations: 495.3 kB / 1.299 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/1.273, allocations: 189.7 kB / 1.3 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/1.278, allocations: 2.144 MB / 1.302 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.278, allocations: 18.81 kB / 1.302 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.278, allocations: 4.906 kB / 1.302 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/1.278, allocations: 9.672 kB / 1.302 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/1.285, allocations: 4.008 MB / 1.306 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.285, allocations: 0.875 kB / 1.306 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/1.286, allocations: 323.8 kB / 1.306 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008374/1.287, allocations: 199.1 kB / 1.306 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.287, allocations: 41.27 kB / 1.306 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006473/1.294, allocations: 7.364 MB / 1.313 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.294, allocations: 0 / 1.313 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/1.298, allocations: 2.015 MB / 1.315 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.299, allocations: 474 kB / 1.316 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/1.3, allocations: 33.34 kB / 1.316 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.301, allocations: 140 kB / 1.316 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.301, allocations: 116.1 kB / 1.316 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.301, allocations: 73.98 kB / 1.316 GB, free: 15.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001626/1.303, allocations: 1.304 MB / 1.317 GB, free: 14.94 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.11e-07/1.303, allocations: 0.9375 kB / 1.317 GB, free: 14.94 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002069/1.305, allocations: 0.6891 MB / 1.318 GB, free: 14.84 MB / 1.029 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.00235/1.307, allocations: 0.7547 MB / 1.319 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005337/1.313, allocations: 2.541 MB / 1.321 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.313, allocations: 1.469 kB / 1.321 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.315, allocations: 1.424 MB / 1.323 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.318, allocations: 0.5529 MB / 1.323 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/1.325, allocations: 4.626 MB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.326, allocations: 1.497 MB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009338/1.327, allocations: 192.7 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.327, allocations: 0 / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of Templates: time 0.08158/1.409, allocations: 67.59 MB / 1.395 GB, free: 11.18 MB / 1.076 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=400 -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/jenkins1/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