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.006922/0.006922, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001558/0.001558, allocations: 196.8 kB / 16.79 MB, free: 5.809 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.619/2.619, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.89 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6863, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004568/0.6909, allocations: 2.686 MB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.6939, allocations: 1.59 MB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.6941, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.6948, allocations: 175.4 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.6952, allocations: 135.5 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.6957, allocations: 167.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.6961, allocations: 311.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.6965, allocations: 121 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.6967, allocations: 79.64 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.697, allocations: 103.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.697, allocations: 8 kB / 1.023 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.6975, allocations: 255.5 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.6976, allocations: 59.81 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.6977, allocations: 71.61 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.698, allocations: 229.5 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.698, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.698, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.698, allocations: 4 kB / 1.023 GB, free: 12.78 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.0007985/0.6988, allocations: 479 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.6989, allocations: 12.03 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/0.6997, allocations: 92.58 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.6999, allocations: 232 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.7, allocations: 12.66 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.7, allocations: 16.36 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.7005, allocations: 291.6 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.7005, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.7006, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.7006, allocations: 16.23 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.701, allocations: 228.4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.7028, allocations: 1.599 MB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.7032, allocations: 319.3 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.7033, allocations: 69.61 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.7034, allocations: 4 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.7034, allocations: 42.66 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.7034, allocations: 0 / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0006137/0.704, allocations: 244.5 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.7041, allocations: 85.05 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.7043, allocations: 203.4 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.7044, allocations: 33.89 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.7045, allocations: 159.6 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.7045, allocations: 31.55 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/0.7046, allocations: 57.59 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7047, allocations: 326.8 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.7049, allocations: 76.81 kB / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.7051, allocations: 156.6 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.7054, allocations: 242.9 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7055, allocations: 0 / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004901/0.7059, allocations: 277.2 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.706, allocations: 4 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.706, allocations: 4 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.706, allocations: 7.938 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.7063, allocations: 51.91 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.7063, allocations: 11.92 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.7066, allocations: 24.2 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.7066, allocations: 8 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002158/0.7068, allocations: 168.1 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001898/0.707, allocations: 156.6 kB / 1.029 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002723/0.7073, allocations: 219.8 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.856e-06/0.7073, allocations: 8 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004466/0.7078, allocations: 253 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.7078, allocations: 4.406 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7078, allocations: 8 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.7078, allocations: 4 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.708, allocations: 51.91 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.708, allocations: 7.938 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.7083, allocations: 19.92 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.7083, allocations: 15.98 kB / 1.029 GB, free: 5.973 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.0001065/0.7084, allocations: 200 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.7085, allocations: 15.81 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.7088, allocations: 143 kB / 1.03 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7088, allocations: 4.062 kB / 1.03 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7088, allocations: 4 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7088, allocations: 3.984 kB / 1.03 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.7097, allocations: 0.7196 MB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.7097, allocations: 4 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.7099, allocations: 31.89 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7099, allocations: 8.328 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.7099, allocations: 8 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7099, allocations: 4 kB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7099, allocations: 4 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.7103, allocations: 382.1 kB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.7104, allocations: 104.9 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.7104, allocations: 4 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.7106, allocations: 11.98 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.7107, allocations: 27.86 kB / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.7107, allocations: 4 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000178/0.7109, allocations: 152.9 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7109, allocations: 0 / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005126/0.7114, allocations: 68 kB / 1.031 GB, free: 3.941 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.0001585/0.7116, allocations: 119.2 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.7121, allocations: 269 kB / 1.031 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7122, allocations: 4.125 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.7122, allocations: 63.83 kB / 1.031 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.7127, allocations: 29.28 kB / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.7135, allocations: 0.5048 MB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.7138, allocations: 0.7402 MB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.7139, allocations: 23.44 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7139, allocations: 0 / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of Templates: time 0.004255/0.7182, allocations: 2.314 MB / 1.035 GB, free: 15.79 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