Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001069/0.001069, allocations: 109 kB / 16.37 MB, free: 6.477 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.00106/0.00106, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 55.88 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3567, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003908/0.3606, allocations: 2.432 MB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.3629, allocations: 1.426 MB / 1.031 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.363, allocations: 4 kB / 1.031 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006644/0.3637, allocations: 179.2 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.364, allocations: 131.4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.3644, allocations: 179.5 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.3647, allocations: 219.3 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.365, allocations: 121 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3651, allocations: 79.75 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.3653, allocations: 111.5 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.3654, allocations: 12 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.3657, allocations: 187.6 kB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.3658, allocations: 63.81 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.3659, allocations: 79.58 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.3662, allocations: 279.2 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3662, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3662, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3662, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 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.0006569/0.3669, allocations: 475 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3669, allocations: 8.031 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/0.3675, allocations: 72.62 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3678, allocations: 232 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3679, allocations: 8.656 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.3679, allocations: 12.38 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.3684, allocations: 287.6 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3685, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3685, allocations: 8 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.3686, allocations: 16.22 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.3689, allocations: 204.5 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.3709, allocations: 1.591 MB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.3713, allocations: 315.3 kB / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3715, allocations: 69.67 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3715, allocations: 0 / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3715, allocations: 34.56 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.3715, allocations: 0 / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005932/0.3721, allocations: 240.7 kB / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3722, allocations: 85.03 kB / 1.036 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3724, allocations: 211.9 kB / 1.036 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3725, allocations: 25.7 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3726, allocations: 147.9 kB / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3726, allocations: 35.55 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.3727, allocations: 53.61 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3729, allocations: 322.8 kB / 1.036 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.373, allocations: 76.81 kB / 1.036 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.3732, allocations: 149.1 kB / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.3735, allocations: 234.9 kB / 1.037 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3735, allocations: 4 kB / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003657/0.3738, allocations: 253.2 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3739, allocations: 4 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3739, allocations: 4.125 kB / 1.037 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3739, allocations: 11.94 kB / 1.037 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3741, allocations: 60.27 kB / 1.037 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3742, allocations: 11.94 kB / 1.037 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3743, allocations: 15.92 kB / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3743, allocations: 12 kB / 1.037 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001667/0.3745, allocations: 160.1 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001348/0.3746, allocations: 155.9 kB / 1.037 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002162/0.3749, allocations: 211.7 kB / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.3749, allocations: 0 / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003265/0.3752, allocations: 245.2 kB / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.3752, allocations: 4 kB / 1.038 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3752, allocations: 7.938 kB / 1.038 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.3752, allocations: 4 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.3754, allocations: 52.31 kB / 1.038 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3754, allocations: 15.94 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.3756, allocations: 7.984 kB / 1.038 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3756, allocations: 12 kB / 1.038 GB, free: 5.926 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 9.718e-05/0.3757, allocations: 188.2 kB / 1.038 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.3757, allocations: 15.81 kB / 1.038 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.376, allocations: 150.9 kB / 1.038 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.376, allocations: 7.938 kB / 1.038 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.376, allocations: 0 / 1.038 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.376, allocations: 4 kB / 1.038 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.3769, allocations: 0.7198 MB / 1.039 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3769, allocations: 3.984 kB / 1.039 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.377, allocations: 31.91 kB / 1.039 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.377, allocations: 4 kB / 1.039 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3771, allocations: 4 kB / 1.039 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3771, allocations: 4 kB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3771, allocations: 0 / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.3774, allocations: 382.4 kB / 1.039 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.3775, allocations: 108.9 kB / 1.04 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3775, allocations: 4 kB / 1.04 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3777, allocations: 11.98 kB / 1.04 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3777, allocations: 15.88 kB / 1.04 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.3777, allocations: 4 kB / 1.04 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3778, allocations: 145.2 kB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3779, allocations: 4 kB / 1.04 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004876/0.3783, allocations: 75.98 kB / 1.04 GB, free: 3.902 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.0002201/0.3786, allocations: 115.1 kB / 1.04 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.379, allocations: 268.7 kB / 1.04 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.379, allocations: 0 / 1.04 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.3791, allocations: 59.84 kB / 1.04 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.3796, allocations: 34.28 kB / 1.04 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.3802, allocations: 415.8 kB / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3806, allocations: 0.7363 MB / 1.041 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.3807, allocations: 77.45 kB / 1.041 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.3808, allocations: 15.44 kB / 1.041 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3808, allocations: 0 / 1.041 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of Templates: time 0.004564/0.3854, allocations: 1.745 MB / 1.043 GB, free: 396 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches