Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001008/0.001008, allocations: 91.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.00132/0.00132, allocations: 176.2 kB / 16.92 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7171, allocations: 153.8 MB / 1.024 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003323/0.7205, allocations: 2.333 MB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.7231, allocations: 1.559 MB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.7232, allocations: 7.938 kB / 1.028 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.7234, allocations: 15.86 kB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.7239, allocations: 143.5 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.7244, allocations: 167.6 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.7247, allocations: 319.1 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.7252, allocations: 242 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.7254, allocations: 71.64 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.7256, allocations: 103.6 kB / 1.029 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.7257, allocations: 7.938 kB / 1.029 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.7261, allocations: 247.6 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.7261, allocations: 51.88 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/0.7262, allocations: 97.31 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.7266, allocations: 233.4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7266, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7266, allocations: 3.938 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7266, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.7794 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.0006693/0.7273, allocations: 443.2 kB / 1.03 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.7273, allocations: 15.98 kB / 1.03 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.7281, allocations: 92.62 kB / 1.03 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.7284, allocations: 224.1 kB / 1.03 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.7284, allocations: 8.656 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.7284, allocations: 16.28 kB / 1.03 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.7289, allocations: 299.6 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.729, allocations: 0 / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.729, allocations: 8 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.729, allocations: 20.22 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.7295, allocations: 220.4 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.7312, allocations: 1.607 MB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.7316, allocations: 319.3 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.7317, allocations: 57.84 kB / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.7317, allocations: 0 / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.7318, allocations: 46.55 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.7318, allocations: 0 / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005638/0.7324, allocations: 252.6 kB / 1.033 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.7324, allocations: 81.11 kB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.7327, allocations: 207.4 kB / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.7327, allocations: 25.7 kB / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.7328, allocations: 155.6 kB / 1.033 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.7328, allocations: 43.64 kB / 1.033 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.7329, allocations: 17.72 kB / 1.033 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.733, allocations: 330.8 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.7332, allocations: 71.95 kB / 1.034 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.7334, allocations: 160.4 kB / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.7337, allocations: 242.8 kB / 1.034 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7337, allocations: 0 / 1.034 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004606/0.7342, allocations: 269.2 kB / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.7343, allocations: 183.6 kB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7343, allocations: 3.984 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7343, allocations: 4 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.7346, allocations: 51.91 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.7346, allocations: 4 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.7348, allocations: 27.97 kB / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.7349, allocations: 8 kB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.7349, allocations: 5.25 kB / 1.034 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003877/0.7353, allocations: 215.7 kB / 1.035 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.7353, allocations: 4 kB / 1.035 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.7353, allocations: 4 kB / 1.035 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.7355, allocations: 51.91 kB / 1.035 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.7355, allocations: 4 kB / 1.035 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.7357, allocations: 23.77 kB / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.7357, allocations: 16 kB / 1.035 GB, free: 3.93 MB / 0.7794 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.0001563/0.7359, allocations: 221.7 kB / 1.035 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.7359, allocations: 11.91 kB / 1.035 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.7362, allocations: 150.9 kB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.7362, allocations: 3.984 kB / 1.035 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.7362, allocations: 7.938 kB / 1.035 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7362, allocations: 0 / 1.035 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.7371, allocations: 0.7196 MB / 1.036 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7371, allocations: 0 / 1.036 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.7372, allocations: 31.91 kB / 1.036 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.7372, allocations: 4.344 kB / 1.036 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.7373, allocations: 12.12 kB / 1.036 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.7373, allocations: 4 kB / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.7373, allocations: 4 kB / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.7376, allocations: 378.1 kB / 1.036 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.7377, allocations: 108.9 kB / 1.036 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.7377, allocations: 8 kB / 1.036 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.7379, allocations: 15.98 kB / 1.036 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.738, allocations: 19.86 kB / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.738, allocations: 4 kB / 1.036 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001742/0.7382, allocations: 152.9 kB / 1.037 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7382, allocations: 0 / 1.037 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005104/0.7387, allocations: 72 kB / 1.037 GB, free: 1.867 MB / 0.7794 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.0001552/0.7389, allocations: 115.2 kB / 1.037 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.7394, allocations: 273.5 kB / 1.037 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7394, allocations: 4.062 kB / 1.037 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.7395, allocations: 63.83 kB / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.74, allocations: 35.92 kB / 1.037 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.7407, allocations: 0.5054 MB / 1.038 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.7411, allocations: 0.7441 MB / 1.038 GB, free: 40 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.7411, allocations: 15.44 kB / 1.038 GB, free: 24 kB / 0.7794 GB Notification: Performance of SimCode: time 1.663e-06/0.7411, allocations: 0 / 1.038 GB, free: 24 kB / 0.7794 GB Notification: Performance of Templates: time 0.004106/0.7452, allocations: 2.295 MB / 1.041 GB, free: 13.73 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches