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.001339/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001457/0.001458, allocations: 198.5 kB / 16.14 MB, free: 6.645 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.551 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.739/2.739, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8656, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003962/0.8696, allocations: 2.481 MB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.8722, allocations: 1.59 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.8723, allocations: 11.94 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006128/0.873, allocations: 155.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.8733, allocations: 135.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.8737, allocations: 167.6 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.8741, allocations: 323.1 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.8744, allocations: 113 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.8745, allocations: 75.77 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.8747, allocations: 119.6 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.8748, allocations: 8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.8751, allocations: 251.5 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.8752, allocations: 55.88 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.8753, allocations: 71.59 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.8757, allocations: 309 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8757, allocations: 3.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8757, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.8757, allocations: 0 / 1.022 GB, free: 12.89 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.0007/0.8764, allocations: 488.8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8765, allocations: 12.03 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007402/0.8772, allocations: 88.55 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.8775, allocations: 230.6 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.8775, allocations: 8.656 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.8776, allocations: 16.38 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.878, allocations: 291.6 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8781, allocations: 3.938 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.8781, allocations: 8 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.8781, allocations: 16.22 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.8786, allocations: 230.1 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.8804, allocations: 1.599 MB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.8808, allocations: 319.3 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.8809, allocations: 65.69 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.8809, allocations: 4 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.8809, allocations: 42.5 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.881, allocations: 0 / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005714/0.8815, allocations: 240.9 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.8816, allocations: 81.11 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.8818, allocations: 207.3 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.8819, allocations: 33.89 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.882, allocations: 159.8 kB / 1.026 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.882, allocations: 31.55 kB / 1.026 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.8821, allocations: 53.61 kB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8822, allocations: 318.8 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.8824, allocations: 84.8 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.8826, allocations: 164.6 kB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.883, allocations: 230.9 kB / 1.027 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.883, allocations: 4 kB / 1.027 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004841/0.8835, allocations: 273.3 kB / 1.027 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8835, allocations: 8 kB / 1.027 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8835, allocations: 4 kB / 1.027 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.8835, allocations: 7.938 kB / 1.027 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.8838, allocations: 56.02 kB / 1.027 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.8838, allocations: 8.062 kB / 1.027 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.8841, allocations: 32.11 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.8841, allocations: 11.98 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002014/0.8843, allocations: 164.1 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001838/0.8845, allocations: 160.5 kB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002779/0.8848, allocations: 223.8 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.8848, allocations: 0 / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004216/0.8852, allocations: 253.1 kB / 1.028 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.8853, allocations: 4.406 kB / 1.028 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.8853, allocations: 8 kB / 1.028 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.8853, allocations: 4 kB / 1.028 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.8855, allocations: 51.95 kB / 1.028 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8855, allocations: 7.938 kB / 1.028 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.8857, allocations: 27.81 kB / 1.028 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.8857, allocations: 11.98 kB / 1.028 GB, free: 6.082 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.0001083/0.8858, allocations: 204 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.8859, allocations: 7.906 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.8861, allocations: 139 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.8862, allocations: 11.92 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8862, allocations: 0 / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8862, allocations: 3.938 kB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009092/0.8871, allocations: 0.7273 MB / 1.029 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.8871, allocations: 4 kB / 1.029 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.8872, allocations: 19.98 kB / 1.029 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.8872, allocations: 4.344 kB / 1.029 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.8872, allocations: 8 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.8872, allocations: 7.938 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8873, allocations: 4 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.8876, allocations: 382.1 kB / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.8877, allocations: 104.9 kB / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.8877, allocations: 4 kB / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.8879, allocations: 15.98 kB / 1.03 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.888, allocations: 19.86 kB / 1.03 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.888, allocations: 8 kB / 1.03 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001745/0.8882, allocations: 156.8 kB / 1.03 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8882, allocations: 4 kB / 1.03 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005005/0.8887, allocations: 64 kB / 1.03 GB, free: 4.055 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.0001539/0.8888, allocations: 107.2 kB / 1.03 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.8894, allocations: 276.8 kB / 1.031 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8894, allocations: 4.188 kB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.8895, allocations: 59.89 kB / 1.031 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.8899, allocations: 29.5 kB / 1.031 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.8907, allocations: 491.2 kB / 1.031 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.8911, allocations: 0.7363 MB / 1.032 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.8914, allocations: 81.45 kB / 1.032 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.8914, allocations: 19.44 kB / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/0.8914, allocations: 0 / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of Templates: time 0.005398/0.8968, allocations: 1.812 MB / 1.034 GB, free: 388 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=480 -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