Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001491/0.001491, allocations: 104 kB / 16.35 MB, free: 5.824 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.001818/0.001818, allocations: 192 kB / 17.29 MB, free: 5.48 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 56.66 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2991, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004042/0.3032, allocations: 2.634 MB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.3054, allocations: 1.43 MB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.3055, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.3062, allocations: 179.8 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.3065, allocations: 123.4 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.3069, allocations: 188.1 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.3072, allocations: 219.3 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3075, allocations: 121 kB / 1.024 GB, free: 4.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3076, allocations: 83.69 kB / 1.024 GB, free: 4.852 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.3078, allocations: 103.6 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.3079, allocations: 12 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.3082, allocations: 179.6 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.545e-05/0.3082, allocations: 67.88 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.3083, allocations: 79.59 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.3087, allocations: 283.1 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3087, allocations: 0 / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3087, allocations: 4 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3087, allocations: 0 / 1.024 GB, free: 4.137 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.0006903/0.3094, allocations: 479 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3094, allocations: 8.922 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.31, allocations: 64.67 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.3103, allocations: 232.1 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3103, allocations: 8.656 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.3103, allocations: 12.38 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.3107, allocations: 283.6 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3108, allocations: 4 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.3108, allocations: 8 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.3108, allocations: 24.16 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.3111, allocations: 205.4 kB / 1.026 GB, free: 2.711 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3128, allocations: 1.591 MB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3132, allocations: 315.3 kB / 1.027 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.3133, allocations: 61.69 kB / 1.027 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3133, allocations: 4 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3133, allocations: 46.48 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3133, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.00052/0.3139, allocations: 236.6 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.3139, allocations: 81.09 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3141, allocations: 199.9 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3141, allocations: 29.7 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.3142, allocations: 155.8 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3143, allocations: 39.67 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.3144, allocations: 57.59 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3145, allocations: 322.8 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3146, allocations: 72.81 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.3148, allocations: 157.9 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.315, allocations: 222.9 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3151, allocations: 7.938 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003725/0.3154, allocations: 265.1 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3155, allocations: 4 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3155, allocations: 4 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3155, allocations: 7.938 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.3157, allocations: 52.28 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3157, allocations: 11.98 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.3159, allocations: 19.92 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.3159, allocations: 8 kB / 1.029 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000143/0.3161, allocations: 160.1 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001346/0.3162, allocations: 155.9 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002173/0.3164, allocations: 211.8 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.3164, allocations: 0 / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003211/0.3168, allocations: 241.1 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.3168, allocations: 4 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3168, allocations: 7.938 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-06/0.3168, allocations: 4 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.317, allocations: 44.38 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.317, allocations: 15.88 kB / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.3171, allocations: 15.98 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3171, allocations: 8 kB / 1.03 GB, free: 13.49 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.0001013/0.3172, allocations: 194.4 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.3173, allocations: 15.81 kB / 1.03 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.3175, allocations: 143.5 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.3176, allocations: 7.938 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3176, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3176, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008724/0.3184, allocations: 0.7277 MB / 1.031 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3185, allocations: 4 kB / 1.031 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3186, allocations: 23.98 kB / 1.031 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3186, allocations: 4 kB / 1.031 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3186, allocations: 4 kB / 1.031 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.3186, allocations: 12 kB / 1.031 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3186, allocations: 3.984 kB / 1.031 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.3189, allocations: 386.2 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.319, allocations: 104.9 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.319, allocations: 11.92 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3192, allocations: 4 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.3193, allocations: 19.92 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3193, allocations: 7.938 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3194, allocations: 145.2 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3194, allocations: 4 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004814/0.3199, allocations: 72 kB / 1.032 GB, free: 11.47 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.0001433/0.3201, allocations: 107.2 kB / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.3205, allocations: 277.4 kB / 1.032 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3205, allocations: 0 / 1.032 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.3206, allocations: 63.83 kB / 1.032 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.321, allocations: 40.33 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.3217, allocations: 413.4 kB / 1.033 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.322, allocations: 0.7402 MB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.3221, allocations: 73.5 kB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.3222, allocations: 19.42 kB / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3222, allocations: 0 / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of Templates: time 0.004559/0.3268, allocations: 1.749 MB / 1.035 GB, free: 7.938 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches