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.001768/0.001768, allocations: 101.7 kB / 16.27 MB, free: 5.996 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.001927/0.001927, allocations: 186.3 kB / 17.2 MB, free: 5.605 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 / 240.9 MB, free: 15.28 MB / 206.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.774/2.774, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 64.34 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004226/0.3299, allocations: 2.424 MB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.3326, allocations: 1.586 MB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3328, allocations: 4 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.3335, allocations: 167.3 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.3339, allocations: 159.3 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.3344, allocations: 179.5 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.3347, allocations: 215.3 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.3349, allocations: 121 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3351, allocations: 87.67 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3353, allocations: 103.6 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.3354, allocations: 12 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.3358, allocations: 215.6 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.798e-05/0.3359, allocations: 67.86 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.336, allocations: 75.55 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.3364, allocations: 303.4 kB / 1.024 GB, free: 4.938 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3364, allocations: 0 / 1.024 GB, free: 4.938 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3364, allocations: 0 / 1.024 GB, free: 4.938 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3364, allocations: 0 / 1.024 GB, free: 4.938 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.0007669/0.3372, allocations: 487.1 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3372, allocations: 8.031 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.338, allocations: 92.55 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.3383, allocations: 222.1 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3383, allocations: 8.656 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3384, allocations: 16.38 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.3389, allocations: 295.6 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3389, allocations: 7.984 kB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.339, allocations: 0 / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.339, allocations: 24.16 kB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.3395, allocations: 221.4 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.3415, allocations: 1.611 MB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.342, allocations: 323.2 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3422, allocations: 65.62 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.3422, allocations: 0 / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3422, allocations: 46.5 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.3422, allocations: 0 / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0005949/0.3428, allocations: 236.6 kB / 1.027 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.3429, allocations: 85.09 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.3432, allocations: 211.9 kB / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3432, allocations: 25.7 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3433, allocations: 159.8 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3434, allocations: 35.73 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.3435, allocations: 49.61 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3436, allocations: 326.8 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3438, allocations: 76.8 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3441, allocations: 166.2 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.3445, allocations: 234.9 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3445, allocations: 4 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005365/0.345, allocations: 273.4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.345, allocations: 8 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3451, allocations: 4 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3451, allocations: 7.938 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.3454, allocations: 59.89 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3454, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.3456, allocations: 23.92 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3457, allocations: 11.98 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002379/0.3459, allocations: 172.1 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002129/0.3461, allocations: 147.9 kB / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003067/0.3464, allocations: 219.8 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.3464, allocations: 0 / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004595/0.3469, allocations: 249.2 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.3469, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3469, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.347, allocations: 4.406 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3472, allocations: 59.91 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3472, allocations: 15.86 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.3474, allocations: 15.89 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3474, allocations: 16 kB / 1.03 GB, free: 14.13 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.0001385/0.3476, allocations: 190.4 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3476, allocations: 7.906 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.3479, allocations: 154.9 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3479, allocations: 7.938 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3479, allocations: 0 / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3479, allocations: 0 / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009891/0.3489, allocations: 0.7273 MB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3489, allocations: 4 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3491, allocations: 20.11 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3491, allocations: 4 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3491, allocations: 12 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.3491, allocations: 7.938 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3491, allocations: 8.281 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.3495, allocations: 378.4 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.3496, allocations: 104.9 kB / 1.031 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.3496, allocations: 8 kB / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.3498, allocations: 11.98 kB / 1.031 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.3499, allocations: 23.95 kB / 1.031 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3499, allocations: 8 kB / 1.031 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001931/0.3501, allocations: 160.8 kB / 1.031 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3501, allocations: 0 / 1.031 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005173/0.3506, allocations: 68 kB / 1.031 GB, free: 12.1 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.0001729/0.3508, allocations: 107.2 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005615/0.3514, allocations: 296.8 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3514, allocations: 0 / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.3515, allocations: 64.34 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.352, allocations: 33.58 kB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.3528, allocations: 448.8 kB / 1.032 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3532, allocations: 0.7285 MB / 1.033 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.3532, allocations: 23.42 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3533, allocations: 0 / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.004629/0.3579, allocations: 2.332 MB / 1.035 GB, free: 8 MB / 0.8106 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/jenkins1/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