Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000841/0.0008409, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.0008788/0.0008788, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.00041, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.8152, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01546/0.8307, allocations: 15.15 MB / 0.9692 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.8414, allocations: 5.92 MB / 0.975 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.8434, allocations: 44.53 kB / 0.9751 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009406/0.8443, allocations: 310.1 kB / 0.9754 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.8466, allocations: 0.6533 MB / 0.976 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.8497, allocations: 0.8265 MB / 0.9768 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005454/0.8551, allocations: 4.44 MB / 0.9811 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008789/0.8639, allocations: 5.255 MB / 0.9863 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.8668, allocations: 1.148 MB / 0.9874 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.8695, allocations: 1.679 MB / 0.989 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003736/0.8699, allocations: 160 kB / 0.9892 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.8711, allocations: 395.6 kB / 0.9896 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.8723, allocations: 1.22 MB / 0.9908 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005942/0.8729, allocations: 0.5005 MB / 0.9912 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.8767, allocations: 4.634 MB / 0.9958 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8767, allocations: 0 / 0.9958 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8767, allocations: 4 kB / 0.9958 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.081e-05/0.8768, allocations: 0 / 0.9958 GB, free: 5.055 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004016/0.8809, allocations: 2.219 MB / 0.9979 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.8809, allocations: 12.03 kB / 0.9979 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.8845, allocations: 0.7969 MB / 0.9987 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.8867, allocations: 1.387 MB / 1 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.8868, allocations: 193.2 kB / 1 GB, free: 352 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/0.8872, allocations: 251.9 kB / 1.001 GB, free: 100 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007088/0.8943, allocations: 4.565 MB / 1.005 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.98e-05/0.8944, allocations: 7.938 kB / 1.005 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/0.8947, allocations: 108 kB / 1.005 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.8949, allocations: 180.2 kB / 1.005 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/0.9007, allocations: 3.811 MB / 1.009 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02186/0.9226, allocations: 21.44 MB / 1.03 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.9251, allocations: 2.258 MB / 1.032 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000986/0.9261, allocations: 0.7165 MB / 1.033 GB, free: 12.6 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.9262, allocations: 11.98 kB / 1.033 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.9262, allocations: 50.5 kB / 1.033 GB, free: 12.53 MB / 0.795 GB Notification: Performance of pre-optimization done (n=62): time 2.735e-06/0.9263, allocations: 0 / 1.033 GB, free: 12.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.005615/0.9319, allocations: 4.183 MB / 1.037 GB, free: 8.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.932, allocations: 244.4 kB / 1.037 GB, free: 8.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.9334, allocations: 1.112 MB / 1.038 GB, free: 6.867 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.9335, allocations: 37.7 kB / 1.038 GB, free: 6.824 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007468/0.9342, allocations: 1.191 MB / 1.039 GB, free: 5.613 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.9345, allocations: 252.6 kB / 1.04 GB, free: 5.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.9346, allocations: 28 kB / 1.04 GB, free: 5.336 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.9348, allocations: 410.7 kB / 1.04 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000958/0.9357, allocations: 0.6948 MB / 1.041 GB, free: 4.23 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.9371, allocations: 1.395 MB / 1.042 GB, free: 2.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.9383, allocations: 0.9788 MB / 1.043 GB, free: 1.523 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.9384, allocations: 8 kB / 1.043 GB, free: 1.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002983/0.9413, allocations: 2.168 MB / 1.045 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005494/0.9419, allocations: 0.7828 MB / 1.046 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.9419, allocations: 27.95 kB / 1.046 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.876e-05/0.942, allocations: 44 kB / 1.046 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.9434, allocations: 427.2 kB / 1.046 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.31e-05/0.9435, allocations: 51.8 kB / 1.047 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9446, allocations: 187.4 kB / 1.047 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.9447, allocations: 84.27 kB / 1.047 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.9448, allocations: 4 kB / 1.047 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002454/0.9472, allocations: 1.847 MB / 1.049 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.9473, allocations: 24 kB / 1.049 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.9473, allocations: 36 kB / 1.049 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.9484, allocations: 383.3 kB / 1.049 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-05/0.9485, allocations: 51.84 kB / 1.049 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008176/0.9493, allocations: 139.4 kB / 1.049 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.9494, allocations: 83.92 kB / 1.049 GB, free: 10.86 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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 0.001602/0.951, allocations: 1.133 MB / 1.05 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.9513, allocations: 102.8 kB / 1.05 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.9529, allocations: 1.097 MB / 1.052 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.9529, allocations: 8 kB / 1.052 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.953, allocations: 4 kB / 1.052 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.953, allocations: 15.92 kB / 1.052 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.9661, allocations: 10.17 MB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/0.9662, allocations: 16 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.9669, allocations: 187.7 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-05/0.9669, allocations: 24 kB / 1.062 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.967, allocations: 28 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/0.967, allocations: 31.86 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-05/0.967, allocations: 31.88 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.9692, allocations: 2.155 MB / 1.064 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.9698, allocations: 335.5 kB / 1.064 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.9701, allocations: 39.98 kB / 1.064 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.9711, allocations: 91.86 kB / 1.064 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9713, allocations: 99.61 kB / 1.064 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.9713, allocations: 36 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00111/0.9724, allocations: 0.762 MB / 1.065 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9725, allocations: 0 / 1.065 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003287/0.9757, allocations: 0.7266 MB / 1.066 GB, free: 9.258 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002733/0.976, allocations: 162.6 kB / 1.066 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003814/0.9799, allocations: 2.467 MB / 1.069 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.9799, allocations: 0 / 1.069 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.9807, allocations: 0.5626 MB / 1.069 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.9828, allocations: 238.2 kB / 1.069 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008338/0.9911, allocations: 5.313 MB / 1.074 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/0.9935, allocations: 2.007 MB / 1.076 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002266/0.9957, allocations: 0.8521 MB / 1.077 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.9961, allocations: 95.41 kB / 1.077 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of SimCode: time 7.02e-07/0.9961, allocations: 0 / 1.077 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.02549/1.022, allocations: 13.41 MB / 1.09 GB, free: 15.98 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches