Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001356/0.001356, allocations: 172.7 kB / 15.95 MB, free: 204 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.62/1.62, allocations: 223.3 MB / 240 MB, free: 5.438 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.674/2.674, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.000445, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.7989, allocations: 142.4 MB / 0.9544 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003016/0.802, allocations: 2.256 MB / 0.9566 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.8037, allocations: 1.311 MB / 0.9579 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.352e-05/0.8038, allocations: 5.719 kB / 0.9579 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.804, allocations: 19.44 kB / 0.958 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.8043, allocations: 102.8 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.8047, allocations: 139.8 kB / 0.9582 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.805, allocations: 259.9 kB / 0.9584 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.8054, allocations: 234.8 kB / 0.9587 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.8055, allocations: 68.39 kB / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.8058, allocations: 102.8 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.8058, allocations: 6.594 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.806, allocations: 102.6 kB / 0.9589 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.8061, allocations: 58.62 kB / 0.959 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.8062, allocations: 54.7 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.8064, allocations: 203.8 kB / 0.9592 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8064, allocations: 0 / 0.9592 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.126e-06/0.8064, allocations: 0 / 0.9592 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.8065, allocations: 5.062 kB / 0.9592 GB, free: 4.324 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005592/0.807, allocations: 456.5 kB / 0.9597 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8071, allocations: 9.219 kB / 0.9597 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.8075, allocations: 64.73 kB / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.8078, allocations: 222.1 kB / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.8078, allocations: 9.781 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.8078, allocations: 9.625 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.8082, allocations: 281.1 kB / 0.9602 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.8082, allocations: 7.938 kB / 0.9602 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.8083, allocations: 2.75 kB / 0.9602 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.8083, allocations: 24.55 kB / 0.9603 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.8086, allocations: 206.6 kB / 0.9605 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.81, allocations: 1.584 MB / 0.962 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.8103, allocations: 317.5 kB / 0.9623 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.8104, allocations: 58.03 kB / 0.9624 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.8105, allocations: 9.562 kB / 0.9624 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.8105, allocations: 35.73 kB / 0.9624 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.8105, allocations: 3.938 kB / 0.9624 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005272/0.811, allocations: 246.8 kB / 0.9627 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.8111, allocations: 78.36 kB / 0.9627 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.8112, allocations: 191.2 kB / 0.9629 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.8113, allocations: 30.7 kB / 0.9629 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.8113, allocations: 157.3 kB / 0.9631 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.8113, allocations: 32.25 kB / 0.9631 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.8114, allocations: 5.062 kB / 0.9631 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.8114, allocations: 326.8 kB / 0.9634 GB, free: 444 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.8115, allocations: 74.47 kB / 0.9635 GB, free: 404 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.8117, allocations: 151 kB / 0.9637 GB, free: 256 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.8118, allocations: 90 kB / 0.9637 GB, free: 212 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8118, allocations: 9.203 kB / 0.9637 GB, free: 204 kB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003632/0.8122, allocations: 255.8 kB / 0.964 GB, free: 60 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.8123, allocations: 169.2 kB / 0.9642 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.8123, allocations: 7.156 kB / 0.9642 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.8124, allocations: 8.891 kB / 0.9642 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.8126, allocations: 49.34 kB / 0.9642 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8126, allocations: 7.969 kB / 0.9642 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.8128, allocations: 20.77 kB / 0.9642 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.8128, allocations: 8.75 kB / 0.9642 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/0.8128, allocations: 2.969 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003008/0.8131, allocations: 194.7 kB / 0.9644 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8131, allocations: 11.11 kB / 0.9644 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/0.8131, allocations: 9.188 kB / 0.9645 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.8133, allocations: 47.81 kB / 0.9645 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8133, allocations: 7.781 kB / 0.9645 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.8134, allocations: 10.02 kB / 0.9645 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.8135, allocations: 24.31 kB / 0.9645 GB, free: 15.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (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 0.0001592/0.8136, allocations: 224.3 kB / 0.9648 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.8137, allocations: 14.06 kB / 0.9648 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.814, allocations: 146.7 kB / 0.9649 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.814, allocations: 2.156 kB / 0.9649 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.814, allocations: 5.047 kB / 0.9649 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.814, allocations: 0 / 0.9649 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009015/0.8149, allocations: 0.7137 MB / 0.9656 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8149, allocations: 0 / 0.9656 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/0.815, allocations: 26.3 kB / 0.9656 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.815, allocations: 4.531 kB / 0.9656 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8151, allocations: 6.969 kB / 0.9656 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.8151, allocations: 6.766 kB / 0.9657 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8151, allocations: 6.906 kB / 0.9657 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.8154, allocations: 385.8 kB / 0.966 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.8155, allocations: 108.5 kB / 0.9661 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.8155, allocations: 7.922 kB / 0.9661 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.8157, allocations: 14.22 kB / 0.9662 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.8157, allocations: 16.59 kB / 0.9662 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.8158, allocations: 5.875 kB / 0.9662 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001284/0.8159, allocations: 147.2 kB / 0.9663 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8159, allocations: 1.312 kB / 0.9663 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005029/0.8164, allocations: 66.62 kB / 0.9664 GB, free: 14.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001462/0.8166, allocations: 120.8 kB / 0.9665 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.817, allocations: 257.6 kB / 0.9667 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.817, allocations: 2.156 kB / 0.9667 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.8171, allocations: 60.47 kB / 0.9668 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.8176, allocations: 36.38 kB / 0.9668 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.8183, allocations: 0.4926 MB / 0.9673 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.8187, allocations: 0.735 MB / 0.968 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.8189, allocations: 74.09 kB / 0.9681 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.8189, allocations: 24.62 kB / 0.9681 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8189, allocations: 0 / 0.9681 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of Templates: time 0.004598/0.8235, allocations: 1.618 MB / 0.9697 GB, free: 11.86 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches