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.0009819/0.0009819, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 180.8 kB / 16.92 MB, free: 6.23 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.27 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.43/2.43, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7091, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.002646/0.7118, allocations: 2.33 MB / 0.958 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.7139, allocations: 1.551 MB / 0.9595 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.652e-05/0.714, allocations: 3.719 kB / 0.9595 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.7142, allocations: 26 kB / 0.9595 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.7146, allocations: 142.9 kB / 0.9597 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.7149, allocations: 161.1 kB / 0.9598 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.7152, allocations: 318.3 kB / 0.9601 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.7157, allocations: 244 kB / 0.9604 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.7158, allocations: 70.08 kB / 0.9604 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.716, allocations: 104.6 kB / 0.9605 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.7161, allocations: 9.094 kB / 0.9605 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.7164, allocations: 250.6 kB / 0.9608 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.7165, allocations: 54.44 kB / 0.9608 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.7166, allocations: 93.58 kB / 0.9609 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.7168, allocations: 229.9 kB / 0.9611 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7168, allocations: 0 / 0.9611 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7169, allocations: 1.031 kB / 0.9611 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.7169, allocations: 0 / 0.9611 GB, free: 3.684 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.0005562/0.7174, allocations: 452.2 kB / 0.9616 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.7175, allocations: 13.16 kB / 0.9616 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.7182, allocations: 86.7 kB / 0.9617 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.7184, allocations: 227.7 kB / 0.9619 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.7184, allocations: 6.156 kB / 0.9619 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.7185, allocations: 13.59 kB / 0.9619 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.719, allocations: 301.8 kB / 0.9622 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.719, allocations: 5.016 kB / 0.9622 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.719, allocations: 7 kB / 0.9622 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.7191, allocations: 12.98 kB / 0.9622 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.7195, allocations: 231.1 kB / 0.9624 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.7211, allocations: 1.607 MB / 0.964 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.7214, allocations: 313.7 kB / 0.9643 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.7215, allocations: 70.36 kB / 0.9644 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.7216, allocations: 5.188 kB / 0.9644 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.7216, allocations: 31.88 kB / 0.9644 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.7216, allocations: 0 / 0.9644 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000546/0.7221, allocations: 250.8 kB / 0.9646 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.7222, allocations: 78.48 kB / 0.9647 GB, free: 444 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.7224, allocations: 205.4 kB / 0.9649 GB, free: 288 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.7225, allocations: 31.02 kB / 0.9649 GB, free: 252 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.7225, allocations: 158 kB / 0.9651 GB, free: 100 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.7226, allocations: 32.23 kB / 0.9651 GB, free: 72 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.7226, allocations: 27.7 kB / 0.9651 GB, free: 44 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7228, allocations: 327 kB / 0.9655 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.7229, allocations: 73.52 kB / 0.9655 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.7232, allocations: 160.5 kB / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.7236, allocations: 252.4 kB / 0.9659 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7236, allocations: 1.969 kB / 0.9659 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005153/0.7241, allocations: 268.1 kB / 0.9662 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.7243, allocations: 177 kB / 0.9663 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.7243, allocations: 3.125 kB / 0.9663 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7243, allocations: 3.781 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.7246, allocations: 59.02 kB / 0.9664 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7246, allocations: 8.75 kB / 0.9664 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.7248, allocations: 14.77 kB / 0.9664 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.7249, allocations: 16.86 kB / 0.9664 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.7249, allocations: 4.781 kB / 0.9665 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004926/0.7254, allocations: 210.4 kB / 0.9667 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7254, allocations: 2.812 kB / 0.9667 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.7254, allocations: 4.156 kB / 0.9667 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.7256, allocations: 57.7 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7256, allocations: 4.312 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.7258, allocations: 29.55 kB / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.7258, allocations: 11.56 kB / 0.9668 GB, free: 14.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.726, allocations: 219.2 kB / 0.967 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.7261, allocations: 15.31 kB / 0.967 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.7264, allocations: 146.6 kB / 0.9671 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7264, allocations: 1.125 kB / 0.9671 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7264, allocations: 4.688 kB / 0.9671 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7264, allocations: 0.6562 kB / 0.9671 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.7274, allocations: 0.7279 MB / 0.9678 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7275, allocations: 6.719 kB / 0.9678 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.7276, allocations: 22.48 kB / 0.9679 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.7276, allocations: 2.656 kB / 0.9679 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.7276, allocations: 3.969 kB / 0.9679 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.7276, allocations: 7.094 kB / 0.9679 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7276, allocations: 2.688 kB / 0.9679 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.728, allocations: 385.7 kB / 0.9682 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7281, allocations: 108.9 kB / 0.9684 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.7281, allocations: 3.469 kB / 0.9684 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.7283, allocations: 10.95 kB / 0.9684 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.7284, allocations: 21.86 kB / 0.9684 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7284, allocations: 5.062 kB / 0.9684 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000201/0.7286, allocations: 159.3 kB / 0.9685 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7286, allocations: 5.031 kB / 0.9685 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005338/0.7292, allocations: 69.09 kB / 0.9686 GB, free: 13.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.7294, allocations: 110.3 kB / 0.9687 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005489/0.7299, allocations: 279.2 kB / 0.969 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7299, allocations: 1.094 kB / 0.969 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.73, allocations: 60.56 kB / 0.969 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.7305, allocations: 32.09 kB / 0.9691 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.7314, allocations: 0.5186 MB / 0.9696 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.7318, allocations: 0.7345 MB / 0.9703 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.7318, allocations: 22.36 kB / 0.9703 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.7319, allocations: 0 / 0.9703 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of Templates: time 0.004624/0.7365, allocations: 2.309 MB / 0.9726 GB, free: 10.58 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/jenkins1/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