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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001305/0.001304, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.513/1.513, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 437 MB / 0.71 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.89 kB / 0.8687 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7697, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005186/0.7749, allocations: 2.688 MB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.7779, allocations: 1.571 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.7782, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009447/0.7791, allocations: 163 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006344/0.7798, allocations: 139.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.7805, allocations: 167.6 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000417/0.7809, allocations: 219.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.7813, allocations: 141 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.7816, allocations: 79.75 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.7819, allocations: 115.6 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.782, allocations: 12 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.7825, allocations: 211.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.7826, allocations: 59.88 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.7827, allocations: 95.52 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.7834, allocations: 309 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7834, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7834, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.7834, allocations: 0 / 1.023 GB, free: 12.7 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.0009526/0.7844, allocations: 479.2 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7844, allocations: 8.031 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008267/0.7853, allocations: 92.55 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.7856, allocations: 228 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.7856, allocations: 8.656 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.7856, allocations: 12.38 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.7862, allocations: 295.6 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.7862, allocations: 3.938 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.7863, allocations: 8 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.7863, allocations: 16.22 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.7868, allocations: 220.4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.7889, allocations: 1.611 MB / 1.025 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.7893, allocations: 311.3 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.7894, allocations: 73.61 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.7895, allocations: 0 / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.7895, allocations: 34.5 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.7895, allocations: 4 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0006438/0.7902, allocations: 244.9 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.7902, allocations: 77.11 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.7905, allocations: 211.4 kB / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.7905, allocations: 25.7 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.7907, allocations: 159.8 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.7907, allocations: 35.55 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.7908, allocations: 57.78 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.791, allocations: 322.8 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.7912, allocations: 76.81 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.7914, allocations: 168.6 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.7918, allocations: 238.9 kB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7918, allocations: 0 / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005181/0.7923, allocations: 265.6 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.7923, allocations: 12 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7924, allocations: 4.078 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.7924, allocations: 11.92 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.7927, allocations: 47.91 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.7927, allocations: 11.98 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.7929, allocations: 23.88 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.793, allocations: 12 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002196/0.7932, allocations: 164.1 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001903/0.7934, allocations: 164.5 kB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003087/0.7937, allocations: 215.9 kB / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.7937, allocations: 0 / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004849/0.7942, allocations: 249.1 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.7943, allocations: 11.98 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7943, allocations: 8 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.7943, allocations: 4 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.7945, allocations: 52.31 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7945, allocations: 15.94 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.7948, allocations: 23.83 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.7948, allocations: 8 kB / 1.029 GB, free: 5.898 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.0001781/0.795, allocations: 192 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.7951, allocations: 19.92 kB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.7954, allocations: 142.9 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.7954, allocations: 7.938 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.7954, allocations: 4 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.7955, allocations: 0 / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.7968, allocations: 0.7312 MB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.7968, allocations: 0 / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.7969, allocations: 23.98 kB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.7969, allocations: 4 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.7969, allocations: 15.92 kB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.797, allocations: 7.938 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.797, allocations: 0 / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.7975, allocations: 382.7 kB / 1.03 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.7976, allocations: 108.9 kB / 1.03 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.7977, allocations: 8 kB / 1.03 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.7979, allocations: 11.98 kB / 1.03 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.7979, allocations: 15.88 kB / 1.03 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.798, allocations: 8 kB / 1.03 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002306/0.7982, allocations: 156.8 kB / 1.03 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7982, allocations: 0 / 1.03 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000594/0.7988, allocations: 72 kB / 1.031 GB, free: 3.859 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.000299/0.7991, allocations: 107.2 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006736/0.7998, allocations: 283.4 kB / 1.031 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.7998, allocations: 5.562 kB / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.7999, allocations: 64.39 kB / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.8005, allocations: 36.45 kB / 1.031 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.8015, allocations: 474.7 kB / 1.031 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.8019, allocations: 0.7324 MB / 1.032 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.8022, allocations: 77.47 kB / 1.032 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.8023, allocations: 27.42 kB / 1.032 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8023, allocations: 0 / 1.032 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.005588/0.8078, allocations: 1.878 MB / 1.034 GB, free: 128 kB / 0.7794 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/jenkins/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