Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.002082/0.002081, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.002048/0.002048, allocations: 191 kB / 17.29 MB, free: 5.516 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.39 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3589, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.00416/0.3631, allocations: 2.631 MB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.3653, allocations: 1.429 MB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.3655, allocations: 4 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.3662, allocations: 179.3 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.3665, allocations: 127.4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3669, allocations: 183.5 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.3672, allocations: 223.3 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.3675, allocations: 113 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3676, allocations: 87.67 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3679, allocations: 99.64 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.3679, allocations: 16 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.3682, allocations: 183.6 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3683, allocations: 67.86 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3684, allocations: 79.53 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.3687, allocations: 283.1 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3688, allocations: 4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3688, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3688, allocations: 3.938 kB / 1.032 GB, free: 12.36 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.0006737/0.3695, allocations: 479.1 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3695, allocations: 12.03 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.37, allocations: 56.69 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3703, allocations: 231.6 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3703, allocations: 8.656 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.3704, allocations: 12.38 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.3708, allocations: 287.6 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3708, allocations: 3.938 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3708, allocations: 8 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.3709, allocations: 12.23 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.3712, allocations: 212.4 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.3728, allocations: 1.587 MB / 1.035 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3732, allocations: 315.3 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.3733, allocations: 65.67 kB / 1.035 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3733, allocations: 11.94 kB / 1.035 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3734, allocations: 30.56 kB / 1.035 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3734, allocations: 0 / 1.035 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005415/0.3739, allocations: 248.7 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.374, allocations: 77.11 kB / 1.036 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3742, allocations: 203.9 kB / 1.036 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3742, allocations: 29.89 kB / 1.036 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.3743, allocations: 151.7 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3743, allocations: 35.55 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.3744, allocations: 49.61 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3745, allocations: 326.8 kB / 1.037 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.3746, allocations: 72.81 kB / 1.037 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3748, allocations: 161 kB / 1.037 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3751, allocations: 226.9 kB / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3751, allocations: 4 kB / 1.037 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003645/0.3755, allocations: 257.1 kB / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3755, allocations: 4 kB / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3755, allocations: 8.359 kB / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3755, allocations: 11.94 kB / 1.037 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.3757, allocations: 51.91 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3758, allocations: 4 kB / 1.037 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3759, allocations: 19.92 kB / 1.037 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3759, allocations: 8 kB / 1.037 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001595/0.3761, allocations: 164.1 kB / 1.038 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/0.3762, allocations: 151.9 kB / 1.038 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002247/0.3765, allocations: 215.8 kB / 1.038 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.3765, allocations: 3.938 kB / 1.038 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003298/0.3768, allocations: 245 kB / 1.038 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.3768, allocations: 4 kB / 1.038 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3768, allocations: 4.406 kB / 1.038 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/0.3769, allocations: 8 kB / 1.038 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.377, allocations: 47.91 kB / 1.038 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.377, allocations: 12.06 kB / 1.038 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3772, allocations: 15.98 kB / 1.038 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3772, allocations: 8 kB / 1.038 GB, free: 5.719 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.447e-05/0.3773, allocations: 188.2 kB / 1.038 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.3774, allocations: 19.81 kB / 1.038 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.3776, allocations: 150.9 kB / 1.039 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3776, allocations: 11.94 kB / 1.039 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3776, allocations: 0 / 1.039 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3776, allocations: 0 / 1.039 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.3786, allocations: 0.7196 MB / 1.039 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3786, allocations: 0 / 1.039 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3787, allocations: 23.98 kB / 1.039 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3787, allocations: 7.938 kB / 1.039 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3787, allocations: 8 kB / 1.039 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3787, allocations: 4 kB / 1.039 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3787, allocations: 3.938 kB / 1.039 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.379, allocations: 382.5 kB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.3791, allocations: 104.9 kB / 1.04 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3792, allocations: 8 kB / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3793, allocations: 7.984 kB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.3794, allocations: 19.88 kB / 1.04 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3794, allocations: 8 kB / 1.04 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001268/0.3795, allocations: 149.2 kB / 1.04 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3795, allocations: 0 / 1.04 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004948/0.38, allocations: 72 kB / 1.04 GB, free: 3.691 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.0001521/0.3802, allocations: 103.2 kB / 1.04 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.3806, allocations: 280 kB / 1.04 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3806, allocations: 0 / 1.04 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.3807, allocations: 57.41 kB / 1.04 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3812, allocations: 30.53 kB / 1.04 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.3818, allocations: 410.9 kB / 1.041 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3822, allocations: 0.7479 MB / 1.042 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.3824, allocations: 77.98 kB / 1.042 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.3824, allocations: 15.44 kB / 1.042 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of SimCode: time 6.32e-07/0.3824, allocations: 0 / 1.042 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of Templates: time 0.004422/0.3868, allocations: 1.757 MB / 1.043 GB, free: 196 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches