Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 108 kB / 15.6 MB, free: 132 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.002048/0.002049, allocations: 197 kB / 16.54 MB, free: 6.672 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.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 3.055/3.055, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002043, allocations: 71.89 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7706, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004836/0.7755, allocations: 2.416 MB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.7786, allocations: 1.582 MB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.7787, allocations: 15.88 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.7795, allocations: 167.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.78, allocations: 159.3 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.7805, allocations: 179.5 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.7809, allocations: 223.2 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.7812, allocations: 113 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.7814, allocations: 87.73 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.7816, allocations: 107.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.7817, allocations: 12 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.7821, allocations: 211.6 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.7822, allocations: 63.86 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.7823, allocations: 79.59 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.7828, allocations: 297.1 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7828, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7828, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.7828, allocations: 0 / 1.023 GB, free: 12.77 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.0008696/0.7837, allocations: 491 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7838, allocations: 8.031 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008187/0.7846, allocations: 92.53 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.7849, allocations: 234.3 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.785, allocations: 8.656 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.785, allocations: 16.38 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.7856, allocations: 291.6 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.7856, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.7856, allocations: 8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.7857, allocations: 16.22 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.7862, allocations: 229.6 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.7885, allocations: 1.599 MB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.789, allocations: 323.2 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.7892, allocations: 61.69 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7892, allocations: 4 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.7893, allocations: 38.56 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.7893, allocations: 0 / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0007755/0.79, allocations: 244.4 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/0.7901, allocations: 81.11 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.7905, allocations: 211.5 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.7905, allocations: 33.7 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.7907, allocations: 159.8 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.7908, allocations: 27.56 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.7909, allocations: 57.59 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.7911, allocations: 318.8 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.7913, allocations: 80.81 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.7916, allocations: 160.2 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.792, allocations: 234.9 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.792, allocations: 4 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005498/0.7926, allocations: 273.2 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.7926, allocations: 10.03 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.7926, allocations: 4 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.7927, allocations: 7.938 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.793, allocations: 51.91 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.793, allocations: 8.453 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.7932, allocations: 28.2 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.7933, allocations: 8 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002633/0.7935, allocations: 168.1 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000251/0.7938, allocations: 152.6 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000371/0.7942, allocations: 223.8 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.7942, allocations: 7.922 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005277/0.7947, allocations: 253.6 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.7947, allocations: 8.062 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7947, allocations: 4 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.7948, allocations: 4.047 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.795, allocations: 55.89 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.795, allocations: 11.88 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.7952, allocations: 23.83 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.7952, allocations: 11.98 kB / 1.029 GB, free: 5.953 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.0001918/0.7954, allocations: 198.2 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.7955, allocations: 11.91 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.7958, allocations: 139 kB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7959, allocations: 7.938 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7959, allocations: 128 / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.7959, allocations: 7.984 kB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.7971, allocations: 0.7234 MB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.7971, allocations: 7.984 kB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.7972, allocations: 23.92 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.7972, allocations: 4.344 kB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7973, allocations: 8 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.7973, allocations: 4 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.7973, allocations: 7.875 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.7977, allocations: 382.1 kB / 1.03 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.7979, allocations: 108.9 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.7979, allocations: 4 kB / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.7981, allocations: 15.98 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.7982, allocations: 15.92 kB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.7982, allocations: 8 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002221/0.7984, allocations: 148.9 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7984, allocations: 4 kB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005446/0.799, allocations: 68 kB / 1.031 GB, free: 3.926 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.000251/0.7993, allocations: 115.2 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006415/0.7999, allocations: 284.9 kB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7999, allocations: 4 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.8, allocations: 59.83 kB / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.8005, allocations: 30.27 kB / 1.031 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.8014, allocations: 419.5 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.8019, allocations: 0.7363 MB / 1.032 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002581/0.8021, allocations: 81.45 kB / 1.032 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.8022, allocations: 15.44 kB / 1.032 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8022, allocations: 0 / 1.032 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of Templates: time 0.006022/0.8082, allocations: 1.891 MB / 1.034 GB, free: 240 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches