Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001467/0.001467, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 469.4 MB / 0.7428 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 55.91 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7826, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01898/0.8016, allocations: 16.42 MB / 1.237 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008719/0.8104, allocations: 5.716 MB / 1.243 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009919/0.8114, allocations: 43.94 kB / 1.243 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.8154, allocations: 1.547 MB / 1.244 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.8175, allocations: 0.8365 MB / 1.245 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.8202, allocations: 1.054 MB / 1.246 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004379/0.8246, allocations: 3.914 MB / 1.25 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006764/0.8314, allocations: 5.618 MB / 1.255 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.8342, allocations: 1.761 MB / 1.257 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.8377, allocations: 2.088 MB / 1.259 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.8389, allocations: 420 kB / 1.259 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.8414, allocations: 1.069 MB / 1.26 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002199/0.8437, allocations: 1.657 MB / 1.262 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.8464, allocations: 1.6 MB / 1.264 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.8529, allocations: 6.056 MB / 1.27 GB, free: 368 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.8529, allocations: 3.938 kB / 1.27 GB, free: 364 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8529, allocations: 0 / 1.27 GB, free: 364 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001758/0.8531, allocations: 4 kB / 1.27 GB, free: 360 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.007253/0.8604, allocations: 2.767 MB / 1.272 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.8604, allocations: 16.56 kB / 1.272 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/0.8642, allocations: 0.6613 MB / 1.273 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.8677, allocations: 1.438 MB / 1.274 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.8679, allocations: 210 kB / 1.275 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008/0.8687, allocations: 272.4 kB / 1.275 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009737/0.8784, allocations: 4.715 MB / 1.279 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/0.8786, allocations: 0 / 1.279 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005413/0.8791, allocations: 116 kB / 1.279 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.8793, allocations: 148.6 kB / 1.28 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007137/0.8864, allocations: 4.089 MB / 1.284 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02516/0.9116, allocations: 20.12 MB / 1.303 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.915, allocations: 1.886 MB / 1.305 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.9161, allocations: 0.7803 MB / 1.306 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.9163, allocations: 105.7 kB / 1.306 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.9164, allocations: 39.22 kB / 1.306 GB, free: 8.637 MB / 1.029 GB Notification: Performance of pre-optimization done (n=77): time 2.996e-06/0.9164, allocations: 0 / 1.306 GB, free: 8.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=92): time 0.01895/0.9353, allocations: 5.197 MB / 1.311 GB, free: 3.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.9354, allocations: 141.5 kB / 1.311 GB, free: 3.258 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.9368, allocations: 0.9684 MB / 1.312 GB, free: 2.281 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.721e-05/0.9369, allocations: 45.64 kB / 1.312 GB, free: 2.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/0.9377, allocations: 1.191 MB / 1.313 GB, free: 1.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.938, allocations: 327.5 kB / 1.314 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005945/0.9386, allocations: 355.1 kB / 1.314 GB, free: 348 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9387, allocations: 326 kB / 1.314 GB, free: 16 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.9401, allocations: 0.8792 MB / 1.315 GB, free: 15.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.9418, allocations: 1.514 MB / 1.317 GB, free: 13.33 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.9449, allocations: 2.457 MB / 1.319 GB, free: 10.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/0.9449, allocations: 7.938 kB / 1.319 GB, free: 10.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003851/0.9487, allocations: 2.512 MB / 1.322 GB, free: 8.047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.9488, allocations: 19.98 kB / 1.322 GB, free: 8.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.9488, allocations: 20 kB / 1.322 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-05/0.9489, allocations: 32 kB / 1.322 GB, free: 7.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.9513, allocations: 0.507 MB / 1.322 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.458e-05/0.9514, allocations: 47.8 kB / 1.322 GB, free: 7.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.9526, allocations: 159.7 kB / 1.322 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.9528, allocations: 87.97 kB / 1.322 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002745/0.9555, allocations: 1.897 MB / 1.324 GB, free: 5.277 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001712/0.9572, allocations: 1.503 MB / 1.326 GB, free: 3.484 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002946/0.9602, allocations: 2.426 MB / 1.328 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.631e-05/0.9602, allocations: 8 kB / 1.328 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003764/0.964, allocations: 2.488 MB / 1.331 GB, free: 14.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.9641, allocations: 19.98 kB / 1.331 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.9641, allocations: 20 kB / 1.331 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.9641, allocations: 32 kB / 1.331 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.9665, allocations: 0.5153 MB / 1.331 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-05/0.9666, allocations: 39.86 kB / 1.331 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.9677, allocations: 143.7 kB / 1.331 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.9679, allocations: 87.98 kB / 1.331 GB, free: 13.41 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0004131/0.9684, allocations: 299.9 kB / 1.332 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.9687, allocations: 98.86 kB / 1.332 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.9715, allocations: 1.825 MB / 1.333 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.9715, allocations: 7.969 kB / 1.334 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.9715, allocations: 4 kB / 1.334 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.9721, allocations: 279.9 kB / 1.334 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.9723, allocations: 16 kB / 1.334 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.973, allocations: 71.89 kB / 1.334 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.9731, allocations: 64.8 kB / 1.334 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002535/0.9756, allocations: 1.593 MB / 1.335 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00186/0.9775, allocations: 1.609 MB / 1.337 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007039/0.9782, allocations: 0.5582 MB / 1.338 GB, free: 6.898 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001064/0.9793, allocations: 0.7215 MB / 1.338 GB, free: 6.18 MB / 1.061 GB Notification: Performance of Backend: time 4.4e-07/0.9793, allocations: 4 kB / 1.338 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00539/0.9847, allocations: 2.903 MB / 1.341 GB, free: 3.27 MB / 1.061 GB Notification: Performance of SimCode: time 0.007553/0.9923, allocations: 4.161 MB / 1.345 GB, free: 15.06 MB / 1.076 GB Notification: Performance of Templates: time 0.04648/1.039, allocations: 28.47 MB / 1.373 GB, free: 2.699 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches