Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.0013/0.0013, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.606/1.606, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 99.83 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.482e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3051, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.224, allocations: 170.8 MB / 1.373 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.225, allocations: 96.42 kB / 1.373 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03346/1.258, allocations: 15.65 MB / 1.388 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/1.258, allocations: 4 kB / 1.388 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.619e-05/1.258, allocations: 3.969 kB / 1.388 GB, free: 29.56 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005568/1.259, allocations: 466.2 kB / 1.389 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.259, allocations: 11.53 kB / 1.389 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/1.259, allocations: 80.59 kB / 1.389 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/1.26, allocations: 231.3 kB / 1.389 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.26, allocations: 7.688 kB / 1.389 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/1.26, allocations: 11.69 kB / 1.389 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000294/1.26, allocations: 182.1 kB / 1.389 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/1.26, allocations: 288.4 kB / 1.389 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.26, allocations: 7.812 kB / 1.389 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/1.26, allocations: 4 kB / 1.389 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/1.26, allocations: 11.62 kB / 1.389 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/1.262, allocations: 1.577 MB / 1.391 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/1.262, allocations: 414.4 kB / 1.391 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/1.262, allocations: 79.27 kB / 1.391 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/1.263, allocations: 88.27 kB / 1.391 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.263, allocations: 41.58 kB / 1.392 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/1.263, allocations: 0 / 1.392 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0005813/1.263, allocations: 251.9 kB / 1.392 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/1.263, allocations: 77.11 kB / 1.392 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/1.263, allocations: 146.2 kB / 1.392 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/1.263, allocations: 29.58 kB / 1.392 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/1.264, allocations: 148.9 kB / 1.392 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/1.264, allocations: 53.83 kB / 1.392 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/1.264, allocations: 0 / 1.392 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.264, allocations: 324.3 kB / 1.393 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/1.264, allocations: 69.88 kB / 1.393 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/1.264, allocations: 143.5 kB / 1.393 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/1.264, allocations: 110.9 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.264, allocations: 3.812 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003591/1.264, allocations: 262.6 kB / 1.393 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003361/1.265, allocations: 0.9621 MB / 1.394 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.265, allocations: 7.844 kB / 1.394 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.265, allocations: 7.859 kB / 1.394 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/1.265, allocations: 46.38 kB / 1.394 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.265, allocations: 20.08 kB / 1.394 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/1.265, allocations: 19.55 kB / 1.394 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/1.265, allocations: 14.53 kB / 1.394 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/1.265, allocations: 3.906 kB / 1.394 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002974/1.266, allocations: 198 kB / 1.394 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/1.266, allocations: 4.219 kB / 1.394 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/1.266, allocations: 7.906 kB / 1.394 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.266, allocations: 50.19 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/1.266, allocations: 3.906 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/1.266, allocations: 7.891 kB / 1.394 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/1.266, allocations: 11.06 kB / 1.394 GB, free: 24.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/1.266, allocations: 116.7 kB / 1.395 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/1.266, allocations: 11.72 kB / 1.395 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/1.266, allocations: 203.9 kB / 1.395 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.266, allocations: 3.688 kB / 1.395 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.266, allocations: 0 / 1.395 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.266, allocations: 0 / 1.395 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009291/1.267, allocations: 0.9068 MB / 1.396 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.267, allocations: 3.719 kB / 1.396 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/1.267, allocations: 45.78 kB / 1.396 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.267, allocations: 3.719 kB / 1.396 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/1.268, allocations: 7.766 kB / 1.396 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.268, allocations: 4.062 kB / 1.396 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.268, allocations: 3.75 kB / 1.396 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/1.268, allocations: 0.5684 MB / 1.396 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/1.268, allocations: 119.5 kB / 1.396 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/1.268, allocations: 7.844 kB / 1.396 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.268, allocations: 11.7 kB / 1.396 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/1.268, allocations: 19.02 kB / 1.396 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/1.268, allocations: 15.39 kB / 1.396 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.127e-05/1.268, allocations: 128.3 kB / 1.397 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.268, allocations: 0 / 1.397 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005311/1.269, allocations: 75.78 kB / 1.397 GB, free: 22.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/1.269, allocations: 118.3 kB / 1.397 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003289/1.269, allocations: 282.3 kB / 1.397 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.269, allocations: 0 / 1.397 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/1.269, allocations: 77.69 kB / 1.397 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/1.27, allocations: 31.92 kB / 1.397 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/1.27, allocations: 358.2 kB / 1.397 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/1.271, allocations: 0.7521 MB / 1.398 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000194/1.271, allocations: 83.61 kB / 1.398 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/1.271, allocations: 18.91 kB / 1.398 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.271, allocations: 0 / 1.398 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.003718/1.275, allocations: 1.722 MB / 1.4 GB, free: 20.89 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches