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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 172.9 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 83.97 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.176e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3502, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.297/6.647, allocations: 1.938 GB / 3.151 GB, free: 390 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/6.647, allocations: 87.95 kB / 3.151 GB, free: 389.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6122/7.259, allocations: 317.9 MB / 3.461 GB, free: 66.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.944e-06/7.259, allocations: 0 / 3.461 GB, free: 66.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001564/7.26, allocations: 59.98 kB / 3.461 GB, free: 66.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004089/7.264, allocations: 2.126 MB / 3.463 GB, free: 64.52 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/7.264, allocations: 12.03 kB / 3.463 GB, free: 64.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/7.268, allocations: 0.5512 MB / 3.464 GB, free: 63.95 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003615/7.271, allocations: 2.181 MB / 3.466 GB, free: 61.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/7.271, allocations: 55.98 kB / 3.466 GB, free: 61.66 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/7.272, allocations: 99.95 kB / 3.466 GB, free: 61.57 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002596/7.274, allocations: 1.814 MB / 3.468 GB, free: 59.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/7.277, allocations: 1.558 MB / 3.47 GB, free: 58.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/7.277, allocations: 0 / 3.47 GB, free: 58.14 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/7.277, allocations: 4 kB / 3.47 GB, free: 58.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/7.277, allocations: 43.98 kB / 3.47 GB, free: 58.09 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.009296/7.286, allocations: 5.901 MB / 3.475 GB, free: 52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/7.288, allocations: 1.8 MB / 3.477 GB, free: 50.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/7.289, allocations: 0.6283 MB / 3.478 GB, free: 49.49 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/7.289, allocations: 425.7 kB / 3.478 GB, free: 49 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/7.291, allocations: 0.8425 MB / 3.479 GB, free: 48.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.206e-06/7.291, allocations: 0 / 3.479 GB, free: 48.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003451/7.294, allocations: 1.549 MB / 3.48 GB, free: 46.56 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/7.294, allocations: 252.6 kB / 3.481 GB, free: 46.26 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/7.297, allocations: 2.27 MB / 3.483 GB, free: 43.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/7.297, allocations: 29.7 kB / 3.483 GB, free: 43.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006071/7.298, allocations: 0.8896 MB / 3.484 GB, free: 43.04 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/7.298, allocations: 437.3 kB / 3.484 GB, free: 42.61 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/7.298, allocations: 4 kB / 3.484 GB, free: 42.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/7.299, allocations: 353.9 kB / 3.485 GB, free: 42.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/7.299, allocations: 470.4 kB / 3.485 GB, free: 41.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/7.3, allocations: 0.6638 MB / 3.486 GB, free: 41.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/7.301, allocations: 0.5617 MB / 3.486 GB, free: 40.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/7.301, allocations: 0 / 3.486 GB, free: 40.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00297/7.304, allocations: 1.498 MB / 3.488 GB, free: 38.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/7.304, allocations: 8 kB / 3.488 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/7.304, allocations: 0 / 3.488 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/7.305, allocations: 208.2 kB / 3.488 GB, free: 38.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/7.306, allocations: 315.5 kB / 3.488 GB, free: 38.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/7.31, allocations: 6.527 MB / 3.495 GB, free: 31.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/7.312, allocations: 139.1 kB / 3.495 GB, free: 31.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/7.313, allocations: 67.89 kB / 3.495 GB, free: 31.13 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004912/7.313, allocations: 130.3 kB / 3.495 GB, free: 31 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006898/7.314, allocations: 173.8 kB / 3.495 GB, free: 30.83 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/7.318, allocations: 1.917 MB / 3.497 GB, free: 28.88 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/7.318, allocations: 19.98 kB / 3.497 GB, free: 28.86 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/7.318, allocations: 0 / 3.497 GB, free: 28.86 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/7.318, allocations: 3.984 kB / 3.497 GB, free: 28.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/7.326, allocations: 3.828 MB / 3.501 GB, free: 24.97 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/7.326, allocations: 3.984 kB / 3.501 GB, free: 24.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/7.327, allocations: 335.5 kB / 3.501 GB, free: 24.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008679/7.328, allocations: 204.1 kB / 3.501 GB, free: 24.42 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/7.328, allocations: 27.95 kB / 3.501 GB, free: 24.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/7.332, allocations: 6.558 MB / 3.508 GB, free: 17.25 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/7.332, allocations: 0 / 3.508 GB, free: 17.25 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/7.336, allocations: 1.701 MB / 3.509 GB, free: 15.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/7.337, allocations: 0.6622 MB / 3.51 GB, free: 14.84 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/7.338, allocations: 3.938 kB / 3.51 GB, free: 14.83 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/7.34, allocations: 115.7 kB / 3.51 GB, free: 14.72 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/7.34, allocations: 105.2 kB / 3.51 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/7.34, allocations: 83.95 kB / 3.51 GB, free: 14.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002681/7.343, allocations: 1.778 MB / 3.512 GB, free: 12.76 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.343, allocations: 0 / 3.512 GB, free: 12.76 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003192/7.346, allocations: 0.7637 MB / 3.513 GB, free: 12 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003677/7.35, allocations: 1.747 MB / 3.514 GB, free: 10.34 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002646/7.352, allocations: 1.725 MB / 3.516 GB, free: 8.562 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/7.352, allocations: 8.5 kB / 3.516 GB, free: 8.555 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/7.354, allocations: 1.224 MB / 3.517 GB, free: 7.285 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/7.357, allocations: 429.3 kB / 3.518 GB, free: 6.871 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/7.365, allocations: 2.903 MB / 3.521 GB, free: 3.926 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/7.366, allocations: 1.552 MB / 3.522 GB, free: 2.344 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002735/7.368, allocations: 0.6523 MB / 3.523 GB, free: 1.684 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008405/7.369, allocations: 239.2 kB / 3.523 GB, free: 1.449 MB / 1.151 GB Notification: Performance of SimCode: time 9.71e-07/7.369, allocations: 0 / 3.523 GB, free: 1.449 MB / 1.151 GB Notification: Performance of Templates: time 0.7477/8.117, allocations: 37.02 MB / 3.559 GB, free: 297.6 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches