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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001493/0.001493, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 73.38 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.31, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1772/0.4873, allocations: 168.4 MB / 1.233 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6387/1.126, allocations: 17.37 MB / 1.25 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/1.128, allocations: 31.38 kB / 1.25 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/1.129, allocations: 0.5705 MB / 1.25 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005491/1.135, allocations: 1.782 MB / 1.252 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/1.139, allocations: 1.431 MB / 1.253 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004907/1.144, allocations: 2.866 MB / 1.256 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003862/1.148, allocations: 1.945 MB / 1.258 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006946/1.155, allocations: 1.423 MB / 1.259 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/1.158, allocations: 1.122 MB / 1.261 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001253/1.16, allocations: 221.7 kB / 1.261 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005237/1.165, allocations: 1.523 MB / 1.262 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/1.167, allocations: 0.7995 MB / 1.263 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00453/1.171, allocations: 1.227 MB / 1.264 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00957/1.181, allocations: 3.549 MB / 1.268 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.181, allocations: 1 kB / 1.268 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.205e-06/1.181, allocations: 2.281 kB / 1.268 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001797/1.181, allocations: 0 / 1.268 GB, free: 4.984 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.009751/1.191, allocations: 2.783 MB / 1.27 GB, free: 19.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.191, allocations: 11.06 kB / 1.27 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/1.196, allocations: 0.5614 MB / 1.271 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/1.2, allocations: 1.595 MB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/1.2, allocations: 131.9 kB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006286/1.201, allocations: 169.4 kB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/1.207, allocations: 1.957 MB / 1.275 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/1.207, allocations: 0 / 1.275 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/1.207, allocations: 74.62 kB / 1.275 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/1.208, allocations: 46.42 kB / 1.275 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006002/1.214, allocations: 2.117 MB / 1.277 GB, free: 18.84 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.01523/1.229, allocations: 6.257 MB / 1.283 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/1.233, allocations: 2.134 MB / 1.285 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/1.234, allocations: 0.7697 MB / 1.286 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007361/1.235, allocations: 430.7 kB / 1.286 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/1.237, allocations: 1.025 MB / 1.287 GB, free: 15.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 7.293e-06/1.237, allocations: 0 / 1.287 GB, free: 15.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007962/1.245, allocations: 2.986 MB / 1.29 GB, free: 14.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/1.245, allocations: 200.9 kB / 1.29 GB, free: 14.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/1.249, allocations: 1.825 MB / 1.292 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003909/1.25, allocations: 58.64 kB / 1.292 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.251, allocations: 0.8493 MB / 1.293 GB, free: 14.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006887/1.252, allocations: 492.5 kB / 1.294 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007928/1.252, allocations: 255.7 kB / 1.294 GB, free: 13.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002402/1.253, allocations: 358.5 kB / 1.294 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/1.254, allocations: 0.6025 MB / 1.295 GB, free: 13.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/1.256, allocations: 0.8133 MB / 1.296 GB, free: 13.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/1.259, allocations: 1.355 MB / 1.297 GB, free: 13.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.259, allocations: 2.25 kB / 1.297 GB, free: 13.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005282/1.264, allocations: 1.844 MB / 1.299 GB, free: 13.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.264, allocations: 5.75 kB / 1.299 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.264, allocations: 3.25 kB / 1.299 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.265, allocations: 211.5 kB / 1.299 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.267, allocations: 339.8 kB / 1.299 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/1.274, allocations: 7.327 MB / 1.306 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/1.276, allocations: 169.3 kB / 1.306 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/1.276, allocations: 57.58 kB / 1.307 GB, free: 6.328 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.001479/1.278, allocations: 494.8 kB / 1.307 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008744/1.279, allocations: 183.9 kB / 1.307 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005529/1.284, allocations: 2.147 MB / 1.309 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.284, allocations: 15.53 kB / 1.309 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/1.284, allocations: 4.938 kB / 1.309 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.284, allocations: 8.625 kB / 1.309 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/1.292, allocations: 4.008 MB / 1.313 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.292, allocations: 7.859 kB / 1.313 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.294, allocations: 322.8 kB / 1.314 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009253/1.295, allocations: 201.9 kB / 1.314 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.295, allocations: 40.92 kB / 1.314 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006173/1.301, allocations: 7.355 MB / 1.321 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.301, allocations: 0 / 1.321 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/1.306, allocations: 2.013 MB / 1.323 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.307, allocations: 474.2 kB / 1.323 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/1.308, allocations: 29.52 kB / 1.323 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.309, allocations: 111.5 kB / 1.324 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/1.31, allocations: 119.5 kB / 1.324 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/1.31, allocations: 70.84 kB / 1.324 GB, free: 14.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002206/1.312, allocations: 1.31 MB / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.312, allocations: 1.781 kB / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002612/1.315, allocations: 0.6856 MB / 1.326 GB, free: 13.93 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.00249/1.317, allocations: 0.7476 MB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005821/1.323, allocations: 2.541 MB / 1.329 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.323, allocations: 3.031 kB / 1.329 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/1.325, allocations: 1.432 MB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/1.329, allocations: 0.5385 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009791/1.339, allocations: 3.909 MB / 1.335 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/1.341, allocations: 1.537 MB / 1.336 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003137/1.344, allocations: 0.4937 MB / 1.337 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008429/1.345, allocations: 179.6 kB / 1.337 GB, free: 10.18 MB / 1.029 GB Notification: Performance of SimCode: time 1.143e-06/1.345, allocations: 0 / 1.337 GB, free: 10.18 MB / 1.029 GB Notification: Performance of Templates: time 0.06169/1.407, allocations: 32.15 MB / 1.368 GB, free: 8.535 MB / 1.045 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