Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001629/0.00163, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.84 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8883, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02135/0.9096, allocations: 16.71 MB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.9215, allocations: 6.434 MB / 1.231 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.9233, allocations: 51.81 kB / 1.231 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.9273, allocations: 1.287 MB / 1.232 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.9309, allocations: 0.8752 MB / 1.233 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004601/0.9356, allocations: 1.554 MB / 1.235 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004706/0.9403, allocations: 3.847 MB / 1.238 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006523/0.9468, allocations: 4.964 MB / 1.243 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.9496, allocations: 1.656 MB / 1.245 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.9532, allocations: 1.998 MB / 1.247 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.9543, allocations: 380 kB / 1.247 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.9566, allocations: 0.8465 MB / 1.248 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.9588, allocations: 1.497 MB / 1.25 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.9616, allocations: 1.533 MB / 1.251 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006227/0.9679, allocations: 5.549 MB / 1.256 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9679, allocations: 0 / 1.256 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9679, allocations: 4 kB / 1.256 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001671/0.9681, allocations: 4 kB / 1.256 GB, free: 12.33 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006596/0.9747, allocations: 2.734 MB / 1.259 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.9748, allocations: 8.031 kB / 1.259 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/0.9799, allocations: 0.907 MB / 1.26 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.9826, allocations: 1.439 MB / 1.261 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.9828, allocations: 189.5 kB / 1.262 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/0.9834, allocations: 256.3 kB / 1.262 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007446/0.9908, allocations: 4.654 MB / 1.266 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.9909, allocations: 11.92 kB / 1.266 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.9912, allocations: 112 kB / 1.267 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.9914, allocations: 172.3 kB / 1.267 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006542/0.9979, allocations: 3.928 MB / 1.271 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02629/1.024, allocations: 21.4 MB / 1.291 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/1.027, allocations: 2.252 MB / 1.294 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.028, allocations: 0.7288 MB / 1.294 GB, free: 3.023 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/1.028, allocations: 15.98 kB / 1.294 GB, free: 3.008 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/1.028, allocations: 42.5 kB / 1.294 GB, free: 2.957 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 3.317e-06/1.028, allocations: 0 / 1.294 GB, free: 2.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.006301/1.035, allocations: 4.204 MB / 1.298 GB, free: 14.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.035, allocations: 239.3 kB / 1.299 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.037, allocations: 1.171 MB / 1.3 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/1.037, allocations: 33.7 kB / 1.3 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/1.037, allocations: 1.191 MB / 1.301 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/1.038, allocations: 248.6 kB / 1.301 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005513/1.038, allocations: 343 kB / 1.302 GB, free: 11.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.038, allocations: 345.9 kB / 1.302 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/1.04, allocations: 0.758 MB / 1.303 GB, free: 10.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.042, allocations: 1.446 MB / 1.304 GB, free: 8.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/1.044, allocations: 2.197 MB / 1.306 GB, free: 5.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/1.044, allocations: 8 kB / 1.306 GB, free: 5.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004043/1.048, allocations: 2.262 MB / 1.308 GB, free: 3.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/1.048, allocations: 20.03 kB / 1.308 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/1.048, allocations: 27.94 kB / 1.309 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.82e-05/1.049, allocations: 35.94 kB / 1.309 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/1.05, allocations: 447.2 kB / 1.309 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-05/1.05, allocations: 43.86 kB / 1.309 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.052, allocations: 239.2 kB / 1.309 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.052, allocations: 87.97 kB / 1.309 GB, free: 2.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002535/1.055, allocations: 1.585 MB / 1.311 GB, free: 1.219 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001606/1.056, allocations: 1.372 MB / 1.312 GB, free: 15.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002444/1.059, allocations: 2.016 MB / 1.314 GB, free: 13.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.069e-05/1.059, allocations: 8 kB / 1.314 GB, free: 13.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003589/1.063, allocations: 2.062 MB / 1.316 GB, free: 11.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.063, allocations: 17.88 kB / 1.316 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/1.063, allocations: 28 kB / 1.316 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/1.063, allocations: 39.92 kB / 1.316 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.064, allocations: 407.3 kB / 1.317 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-05/1.064, allocations: 52.06 kB / 1.317 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.066, allocations: 187.8 kB / 1.317 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.066, allocations: 87.97 kB / 1.317 GB, free: 10.25 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0003848/1.066, allocations: 287.6 kB / 1.317 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/1.067, allocations: 102.7 kB / 1.317 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/1.069, allocations: 1.104 MB / 1.318 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/1.069, allocations: 3.984 kB / 1.318 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.069, allocations: 11.94 kB / 1.318 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/1.069, allocations: 307.6 kB / 1.319 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/1.069, allocations: 16 kB / 1.319 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.071, allocations: 175.7 kB / 1.319 GB, free: 8.227 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.071, allocations: 43.88 kB / 1.319 GB, free: 8.184 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001919/1.073, allocations: 1.741 MB / 1.321 GB, free: 6.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001729/1.074, allocations: 1.814 MB / 1.322 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006158/1.075, allocations: 0.4921 MB / 1.323 GB, free: 4.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001379/1.076, allocations: 0.8205 MB / 1.324 GB, free: 3.262 MB / 1.045 GB Notification: Performance of Backend: time 2.8e-07/1.076, allocations: 0 / 1.324 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005439/1.082, allocations: 2.42 MB / 1.326 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of SimCode: time 0.00734/1.089, allocations: 4.069 MB / 1.33 GB, free: 12.73 MB / 1.061 GB Notification: Performance of Templates: time 0.04457/1.134, allocations: 27.07 MB / 1.356 GB, free: 1.785 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches