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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001496/0.001496, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001761/0.001762, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 442.5 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 64.05 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.331, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8105/1.142, allocations: 168.5 MB / 1.191 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02364/1.165, allocations: 17.35 MB / 1.208 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/1.167, allocations: 29.47 kB / 1.208 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/1.169, allocations: 0.5678 MB / 1.209 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005596/1.175, allocations: 1.794 MB / 1.21 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/1.179, allocations: 1.44 MB / 1.212 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004057/1.183, allocations: 2.895 MB / 1.215 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/1.185, allocations: 1.945 MB / 1.217 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003962/1.189, allocations: 1.433 MB / 1.218 GB, free: 7.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/1.191, allocations: 1.119 MB / 1.219 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003472/1.191, allocations: 220.9 kB / 1.219 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/1.195, allocations: 1.56 MB / 1.221 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007685/1.195, allocations: 0.7911 MB / 1.222 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/1.197, allocations: 1.232 MB / 1.223 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005472/1.202, allocations: 3.614 MB / 1.226 GB, free: 1.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.202, allocations: 4 kB / 1.226 GB, free: 1.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.605e-06/1.202, allocations: 0 / 1.226 GB, free: 1.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.526e-05/1.202, allocations: 0 / 1.226 GB, free: 1.008 MB / 0.92 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.005313/1.208, allocations: 2.787 MB / 1.229 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.208, allocations: 8.031 kB / 1.229 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/1.212, allocations: 0.559 MB / 1.23 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/1.215, allocations: 1.643 MB / 1.231 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/1.215, allocations: 127.4 kB / 1.231 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/1.215, allocations: 168 kB / 1.232 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/1.219, allocations: 1.964 MB / 1.233 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/1.219, allocations: 0 / 1.233 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/1.219, allocations: 72 kB / 1.234 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/1.219, allocations: 44 kB / 1.234 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/1.223, allocations: 2.12 MB / 1.236 GB, free: 7.348 MB / 0.9356 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.01031/1.233, allocations: 6.189 MB / 1.242 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/1.236, allocations: 2.134 MB / 1.244 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/1.237, allocations: 0.7691 MB / 1.245 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/1.238, allocations: 437.5 kB / 1.245 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/1.24, allocations: 1.017 MB / 1.246 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/1.24, allocations: 0 / 1.246 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.006637/1.246, allocations: 2.989 MB / 1.249 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.247, allocations: 197.2 kB / 1.249 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/1.249, allocations: 1.826 MB / 1.251 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/1.249, allocations: 61.7 kB / 1.251 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000718/1.25, allocations: 0.8546 MB / 1.252 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/1.25, allocations: 480.9 kB / 1.252 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/1.251, allocations: 258.8 kB / 1.252 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.251, allocations: 357.9 kB / 1.253 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/1.252, allocations: 0.6038 MB / 1.253 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/1.253, allocations: 0.8131 MB / 1.254 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/1.256, allocations: 1.357 MB / 1.255 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.256, allocations: 0 / 1.255 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004004/1.26, allocations: 1.838 MB / 1.257 GB, free: 404 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.26, allocations: 11.94 kB / 1.257 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.26, allocations: 0 / 1.257 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.261, allocations: 216.1 kB / 1.257 GB, free: 160 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.263, allocations: 335.6 kB / 1.258 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006109/1.269, allocations: 7.322 MB / 1.265 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.27, allocations: 170.6 kB / 1.265 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.271, allocations: 56.03 kB / 1.265 GB, free: 7.582 MB / 0.9669 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.0009653/1.272, allocations: 491.2 kB / 1.266 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/1.272, allocations: 177.8 kB / 1.266 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/1.276, allocations: 2.156 MB / 1.268 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.276, allocations: 16 kB / 1.268 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.276, allocations: 4 kB / 1.268 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.276, allocations: 7.969 kB / 1.268 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00683/1.283, allocations: 4.006 MB / 1.272 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.283, allocations: 8 kB / 1.272 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.285, allocations: 331.4 kB / 1.272 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008201/1.286, allocations: 192.1 kB / 1.272 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.286, allocations: 43.95 kB / 1.272 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/1.292, allocations: 7.357 MB / 1.28 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.292, allocations: 3.938 kB / 1.28 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/1.296, allocations: 2.012 MB / 1.282 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.297, allocations: 474.3 kB / 1.282 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/1.297, allocations: 32 kB / 1.282 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.298, allocations: 109.4 kB / 1.282 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/1.299, allocations: 113.2 kB / 1.282 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.299, allocations: 71.88 kB / 1.282 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001645/1.3, allocations: 1.313 MB / 1.284 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.3, allocations: 0 / 1.284 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001824/1.302, allocations: 0.682 MB / 1.284 GB, free: 3.129 MB / 0.9825 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.001805/1.304, allocations: 0.7452 MB / 1.285 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003558/1.308, allocations: 2.102 MB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.308, allocations: 4.562 kB / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.31, allocations: 1.43 MB / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.313, allocations: 0.5571 MB / 1.289 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.324, allocations: 3.851 MB / 1.293 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/1.326, allocations: 1.541 MB / 1.294 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003016/1.329, allocations: 0.4931 MB / 1.295 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/1.33, allocations: 171.4 kB / 1.295 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.33, allocations: 0 / 1.295 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of Templates: time 0.08573/1.416, allocations: 32.15 MB / 1.326 GB, free: 8.441 MB / 1.029 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 -s cvode -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/jenkins1/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