Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001204/0.001204, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.168/1.168, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4971, allocations: 140.4 MB / 0.9491 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01999/0.5171, allocations: 23.23 MB / 0.9717 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009368/0.5265, allocations: 6.505 MB / 0.9781 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.5276, allocations: 86 kB / 0.9782 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.5304, allocations: 1.349 MB / 0.9795 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.5331, allocations: 1.748 MB / 0.9812 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.5356, allocations: 1.332 MB / 0.9825 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008533/0.5441, allocations: 10.6 MB / 0.9929 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009412/0.5535, allocations: 7.619 MB / 1 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.5573, allocations: 2.417 MB / 1.003 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004558/0.5619, allocations: 3.599 MB / 1.006 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007671/0.5626, allocations: 380 kB / 1.007 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.5651, allocations: 1.197 MB / 1.008 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.5674, allocations: 2.308 MB / 1.01 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003002/0.5704, allocations: 2.353 MB / 1.012 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007911/0.5784, allocations: 8.386 MB / 1.02 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5784, allocations: 0 / 1.02 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.083e-06/0.5784, allocations: 0 / 1.02 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000176/0.5786, allocations: 4 kB / 1.02 GB, free: 8.723 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007803/0.5864, allocations: 4.428 MB / 1.025 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5865, allocations: 12.03 kB / 1.025 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008506/0.5873, allocations: 0.5753 MB / 1.025 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008039/0.5954, allocations: 1.677 MB / 1.027 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/0.6004, allocations: 2.579 MB / 1.03 GB, free: 15.31 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.6006, allocations: 275.6 kB / 1.03 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000882/0.6014, allocations: 364.3 kB / 1.03 GB, free: 14.69 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.614, allocations: 7.487 MB / 1.037 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.32e-05/0.6141, allocations: 19.78 kB / 1.037 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004093/0.6145, allocations: 155.9 kB / 1.038 GB, free: 6.762 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005384/0.6151, allocations: 487.3 kB / 1.038 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008556/0.6237, allocations: 5.701 MB / 1.044 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/0.6537, allocations: 31.71 MB / 1.075 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.6564, allocations: 2.093 MB / 1.077 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.6593, allocations: 2.182 MB / 1.079 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.6595, allocations: 13.31 kB / 1.079 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.6595, allocations: 47.88 kB / 1.079 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 3.907e-06/0.6595, allocations: 4 kB / 1.079 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.2744/0.9339, allocations: 77 MB / 1.154 GB, free: 12.58 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.934, allocations: 77.41 kB / 1.154 GB, free: 12.49 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.9365, allocations: 1.67 MB / 1.156 GB, free: 10.78 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003558/0.9368, allocations: 65.7 kB / 1.156 GB, free: 10.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.9379, allocations: 1.743 MB / 1.157 GB, free: 8.941 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008673/0.9388, allocations: 0.8587 MB / 1.158 GB, free: 8.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.9398, allocations: 489.2 kB / 1.159 GB, free: 7.586 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9399, allocations: 301.1 kB / 1.159 GB, free: 7.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/0.9437, allocations: 2.726 MB / 1.162 GB, free: 4.559 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.9482, allocations: 3.332 MB / 1.165 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008453/0.9567, allocations: 6.397 MB / 1.171 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.9567, allocations: 8 kB / 1.171 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03018/0.9869, allocations: 14.68 MB / 1.186 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.9869, allocations: 12 kB / 1.186 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.987, allocations: 20.12 kB / 1.186 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02737/1.014, allocations: 9.244 MB / 1.195 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.015, allocations: 299.5 kB / 1.195 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06982/1.085, allocations: 47.43 MB / 1.241 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/1.088, allocations: 227.7 kB / 1.241 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.088, allocations: 96 kB / 1.242 GB, free: 1.426 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002325/1.09, allocations: 1.59 MB / 1.243 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000519/1.091, allocations: 241.1 kB / 1.243 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02903/1.12, allocations: 14.75 MB / 1.258 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/1.12, allocations: 24 kB / 1.258 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.518e-05/1.12, allocations: 47.98 kB / 1.258 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.12, allocations: 15.95 kB / 1.258 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5082/1.628, allocations: 20.52 MB / 1.278 GB, free: 273.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/1.628, allocations: 6.312 kB / 1.278 GB, free: 273.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/1.629, allocations: 165.2 kB / 1.278 GB, free: 273.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02901/1.658, allocations: 9 MB / 1.287 GB, free: 272.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004688/1.659, allocations: 48.03 kB / 1.287 GB, free: 272.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05832/1.717, allocations: 47.02 MB / 1.333 GB, free: 236.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.717, allocations: 11.94 kB / 1.333 GB, free: 236.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02588/1.743, allocations: 14.37 MB / 1.347 GB, free: 222.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.745, allocations: 0.8416 MB / 1.348 GB, free: 221.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/1.745, allocations: 59.75 kB / 1.348 GB, free: 221.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.747, allocations: 207.7 kB / 1.348 GB, free: 221.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/1.748, allocations: 249.4 kB / 1.348 GB, free: 220.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.748, allocations: 64 kB / 1.348 GB, free: 220.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001218/1.749, allocations: 1.121 MB / 1.349 GB, free: 219.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.749, allocations: 0 / 1.349 GB, free: 219.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003619/1.753, allocations: 1.617 MB / 1.351 GB, free: 218.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02548/1.779, allocations: 14.97 MB / 1.366 GB, free: 203 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01814/1.797, allocations: 10.53 MB / 1.376 GB, free: 192.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.797, allocations: 4 kB / 1.376 GB, free: 192.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.014/1.811, allocations: 7.293 MB / 1.383 GB, free: 185.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.814, allocations: 0.5195 MB / 1.383 GB, free: 184.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08212/1.896, allocations: 55.14 MB / 1.437 GB, free: 127.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/1.898, allocations: 3.22 MB / 1.44 GB, free: 124 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001033/1.899, allocations: 391.3 kB / 1.441 GB, free: 123.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.9, allocations: 1.468 MB / 1.442 GB, free: 122.1 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/1.9, allocations: 0 / 1.442 GB, free: 122.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/2.056, allocations: 117 MB / 1.556 GB, free: 5.586 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/2.056, allocations: 263.7 kB / 1.557 GB, free: 5.324 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/5.517, allocations: 0 / 1.557 GB, free: 5.324 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches