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.0009629/0.0009629, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 10.34 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3032, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003806/0.307, allocations: 2.332 MB / 1.062 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3098, allocations: 1.574 MB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.31, allocations: 4 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3102, allocations: 23.8 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.3107, allocations: 135.5 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.3113, allocations: 167.6 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.3117, allocations: 315.2 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.3123, allocations: 230 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.3125, allocations: 75.69 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.3129, allocations: 107.6 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.3129, allocations: 12 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.3134, allocations: 243.5 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.3135, allocations: 59.86 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3136, allocations: 93.31 kB / 1.065 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.314, allocations: 227.7 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.314, allocations: 0 / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.993e-06/0.314, allocations: 0 / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.314, allocations: 0 / 1.065 GB, free: 15.4 MB / 0.8262 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.0007504/0.3148, allocations: 455.1 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3148, allocations: 15.97 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.3157, allocations: 84.64 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.316, allocations: 228 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.316, allocations: 12.59 kB / 1.066 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.3161, allocations: 16.38 kB / 1.066 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.3166, allocations: 299.5 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3166, allocations: 4 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3167, allocations: 4 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.3167, allocations: 16.22 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.3172, allocations: 228.4 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3191, allocations: 1.603 MB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.3195, allocations: 319.2 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3196, allocations: 61.81 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3197, allocations: 11.98 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3197, allocations: 34.56 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3197, allocations: 0 / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005924/0.3203, allocations: 248.5 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3204, allocations: 77.11 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.3206, allocations: 203.4 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3207, allocations: 33.89 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3208, allocations: 155.8 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3208, allocations: 35.45 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.3209, allocations: 29.7 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.321, allocations: 322.8 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.3212, allocations: 71.95 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3214, allocations: 156.6 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3218, allocations: 246.8 kB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3218, allocations: 0 / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004985/0.3223, allocations: 269.5 kB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.3224, allocations: 175.3 kB / 1.07 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3224, allocations: 4 kB / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3224, allocations: 4 kB / 1.07 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.3227, allocations: 59.91 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3227, allocations: 4 kB / 1.07 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.323, allocations: 31.81 kB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.323, allocations: 8 kB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.323, allocations: 4 kB / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000404/0.3234, allocations: 215.6 kB / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.3234, allocations: 0 / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.3235, allocations: 4 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3237, allocations: 51.91 kB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3237, allocations: 4 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3239, allocations: 20.23 kB / 1.07 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3239, allocations: 12 kB / 1.07 GB, free: 9.129 MB / 0.8262 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.0001529/0.324, allocations: 225 kB / 1.071 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.3241, allocations: 11.81 kB / 1.071 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.3244, allocations: 143 kB / 1.071 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3244, allocations: 7.938 kB / 1.071 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3244, allocations: 3.938 kB / 1.071 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.3244, allocations: 3.984 kB / 1.071 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.3253, allocations: 0.7158 MB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3254, allocations: 8.344 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3255, allocations: 24.02 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3255, allocations: 11.92 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3255, allocations: 4 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3255, allocations: 7.938 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3255, allocations: 4 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3259, allocations: 378.1 kB / 1.072 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.326, allocations: 112.9 kB / 1.072 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.326, allocations: 4 kB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3262, allocations: 15.98 kB / 1.072 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.3263, allocations: 19.86 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3263, allocations: 8 kB / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001863/0.3265, allocations: 157.1 kB / 1.072 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3265, allocations: 4 kB / 1.072 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005203/0.327, allocations: 68 kB / 1.072 GB, free: 7.055 MB / 0.8262 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.000165/0.3272, allocations: 116.9 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.3277, allocations: 272.5 kB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.3277, allocations: 0 / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.3278, allocations: 67.83 kB / 1.073 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.3284, allocations: 29.17 kB / 1.073 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.3292, allocations: 0.5169 MB / 1.073 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3295, allocations: 0.7402 MB / 1.074 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.3296, allocations: 27.42 kB / 1.074 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3296, allocations: 0 / 1.074 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.004444/0.3341, allocations: 2.301 MB / 1.076 GB, free: 2.906 MB / 0.8262 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 -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