Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00161/0.00161, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001731/0.001731, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.72 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2985, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004409/0.3029, allocations: 2.641 MB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.3053, allocations: 1.422 MB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.3055, allocations: 7.938 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007674/0.3063, allocations: 175.2 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.3068, allocations: 123.5 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.3073, allocations: 187.5 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.3077, allocations: 219.3 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.308, allocations: 113 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.3081, allocations: 95.67 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.3084, allocations: 99.64 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3084, allocations: 12 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.3088, allocations: 179.6 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.3089, allocations: 67.8 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.309, allocations: 83.59 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.3094, allocations: 279.1 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3094, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3094, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3094, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 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.0007065/0.3102, allocations: 487 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3102, allocations: 12.03 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.3108, allocations: 64.67 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.311, allocations: 224 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3111, allocations: 12.66 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.3111, allocations: 12.38 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.3115, allocations: 279.6 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3115, allocations: 4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.3116, allocations: 4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.3116, allocations: 20.22 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.3119, allocations: 212.5 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.3137, allocations: 1.583 MB / 1.035 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.3141, allocations: 315.3 kB / 1.035 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3142, allocations: 69.67 kB / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3142, allocations: 0 / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3143, allocations: 38.56 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3143, allocations: 0 / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005703/0.3148, allocations: 244.6 kB / 1.036 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3149, allocations: 81.3 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3151, allocations: 207.9 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3151, allocations: 25.7 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3152, allocations: 155.7 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3153, allocations: 31.55 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.3154, allocations: 49.61 kB / 1.036 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3155, allocations: 322.8 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3156, allocations: 76.88 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3158, allocations: 157.1 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3161, allocations: 230.9 kB / 1.037 GB, free: 7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3161, allocations: 0 / 1.037 GB, free: 7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003781/0.3164, allocations: 261.4 kB / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3165, allocations: 12.03 kB / 1.037 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3165, allocations: 4 kB / 1.037 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3165, allocations: 7.938 kB / 1.037 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3167, allocations: 51.89 kB / 1.037 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3168, allocations: 4 kB / 1.037 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3169, allocations: 19.92 kB / 1.037 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.317, allocations: 15.88 kB / 1.037 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001564/0.3171, allocations: 164.1 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001394/0.3173, allocations: 151.9 kB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002195/0.3175, allocations: 215.8 kB / 1.038 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.3175, allocations: 4 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003349/0.3178, allocations: 233.5 kB / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3179, allocations: 12.06 kB / 1.038 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3179, allocations: 4 kB / 1.038 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.3179, allocations: 4 kB / 1.038 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.318, allocations: 47.91 kB / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3181, allocations: 11.88 kB / 1.038 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3182, allocations: 19.92 kB / 1.038 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3182, allocations: 8 kB / 1.038 GB, free: 5.672 MB / 0.8106 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 9.622e-05/0.3183, allocations: 192.2 kB / 1.038 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.3184, allocations: 15.81 kB / 1.038 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.3186, allocations: 151 kB / 1.039 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3186, allocations: 3.938 kB / 1.039 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3186, allocations: 0 / 1.039 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3187, allocations: 0 / 1.039 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.3196, allocations: 0.7196 MB / 1.039 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3196, allocations: 4 kB / 1.039 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3197, allocations: 27.91 kB / 1.039 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3197, allocations: 8.031 kB / 1.039 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3197, allocations: 4 kB / 1.039 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3197, allocations: 4.344 kB / 1.039 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3197, allocations: 11.94 kB / 1.039 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.32, allocations: 378.2 kB / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.3201, allocations: 104.9 kB / 1.04 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.3202, allocations: 7.938 kB / 1.04 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3203, allocations: 15.98 kB / 1.04 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3204, allocations: 15.94 kB / 1.04 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3204, allocations: 8 kB / 1.04 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001135/0.3205, allocations: 141.2 kB / 1.04 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3205, allocations: 4 kB / 1.04 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000498/0.321, allocations: 71.98 kB / 1.04 GB, free: 3.645 MB / 0.8106 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.0001496/0.3212, allocations: 111.1 kB / 1.04 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.3216, allocations: 267.5 kB / 1.04 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3216, allocations: 0 / 1.04 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.3217, allocations: 61.41 kB / 1.04 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.3222, allocations: 37.16 kB / 1.04 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/0.3229, allocations: 410.8 kB / 1.041 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3232, allocations: 0.7402 MB / 1.042 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.3234, allocations: 73.45 kB / 1.042 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.3235, allocations: 19.44 kB / 1.042 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3235, allocations: 4 kB / 1.042 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of Templates: time 0.165/0.4885, allocations: 1.748 MB / 1.043 GB, free: 156 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches