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.001465/0.001465, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001632/0.001632, allocations: 194.6 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.474/1.474, 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 10.1.0-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 60.59 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3028, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004232/0.3071, allocations: 2.623 MB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.3095, allocations: 1.43 MB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.3097, allocations: 0 / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007751/0.3104, allocations: 179.9 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.3109, allocations: 135.4 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.3114, allocations: 180 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.3117, allocations: 215.3 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.312, allocations: 113 kB / 1.024 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3121, allocations: 87.69 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.3124, allocations: 111.5 kB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.3124, allocations: 12 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.3127, allocations: 179.7 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.3128, allocations: 71.75 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3129, allocations: 79.59 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.3133, allocations: 283.2 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3133, allocations: 0 / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3133, allocations: 0 / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3134, allocations: 0 / 1.024 GB, free: 4.16 MB / 0.795 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.0007554/0.3141, allocations: 481.4 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3142, allocations: 8.922 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005357/0.3147, allocations: 64.67 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.315, allocations: 226.1 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.315, allocations: 16.64 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.3151, allocations: 16.31 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.3155, allocations: 279.6 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3156, allocations: 4 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.3156, allocations: 4 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.3156, allocations: 24.22 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.316, allocations: 209.3 kB / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3177, allocations: 1.584 MB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.3181, allocations: 327.3 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/0.3182, allocations: 57.77 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3183, allocations: 4 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3183, allocations: 34.56 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3183, allocations: 0 / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0006239/0.3189, allocations: 252.7 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.319, allocations: 77.11 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.3192, allocations: 203.9 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3193, allocations: 33.64 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.3193, allocations: 151.7 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3194, allocations: 31.55 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.3195, allocations: 57.59 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3196, allocations: 327 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3197, allocations: 64.83 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3199, allocations: 151.8 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.3202, allocations: 234.9 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3202, allocations: 0 / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003815/0.3206, allocations: 265.2 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3206, allocations: 4 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3206, allocations: 7.938 kB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3206, allocations: 7.938 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.3209, allocations: 47.91 kB / 1.029 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3209, allocations: 15.92 kB / 1.029 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.321, allocations: 15.94 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3211, allocations: 12.36 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000161/0.3212, allocations: 164.1 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001476/0.3214, allocations: 146.3 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002382/0.3216, allocations: 227.8 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-06/0.3216, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003351/0.322, allocations: 237.1 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.322, allocations: 8 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.322, allocations: 4 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-06/0.322, allocations: 4 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3222, allocations: 47.91 kB / 1.03 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3222, allocations: 7.938 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3223, allocations: 12 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3224, allocations: 12.39 kB / 1.03 GB, free: 13.52 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 0.0001312/0.3225, allocations: 196.2 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.3226, allocations: 15.81 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.3228, allocations: 147 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3229, allocations: 3.938 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3229, allocations: 3.984 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3229, allocations: 7.938 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/0.3238, allocations: 0.7118 MB / 1.031 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3238, allocations: 4 kB / 1.031 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.324, allocations: 32.44 kB / 1.031 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.324, allocations: 11.98 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.324, allocations: 0 / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.324, allocations: 7.984 kB / 1.031 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.324, allocations: 4 kB / 1.031 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.3243, allocations: 378.2 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.3244, allocations: 104.9 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3245, allocations: 8 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3246, allocations: 7.984 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3247, allocations: 19.86 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3247, allocations: 8 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001145/0.3248, allocations: 145.2 kB / 1.032 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3248, allocations: 0 / 1.032 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000497/0.3253, allocations: 72 kB / 1.032 GB, free: 11.5 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.0001514/0.3255, allocations: 123 kB / 1.032 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.3259, allocations: 260.8 kB / 1.032 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3259, allocations: 3.938 kB / 1.032 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.326, allocations: 68.2 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.3265, allocations: 32.55 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.3272, allocations: 419.4 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3275, allocations: 0.7324 MB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.3277, allocations: 73.47 kB / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.3278, allocations: 19.42 kB / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3278, allocations: 0 / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of Templates: time 0.004629/0.3324, allocations: 1.749 MB / 1.035 GB, free: 7.969 MB / 0.8106 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 -s gbode -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