Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_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_10_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.00404/0.00404, allocations: 100.6 kB / 15.73 MB, free: 6.062 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.001131/0.001131, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.263/2.263, allocations: 437.1 MB / 0.7106 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 63.91 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6033, allocations: 151.6 MB / 1.166 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02513/0.6285, allocations: 23.42 MB / 1.189 GB, free: 12.19 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.639, allocations: 6.484 MB / 1.195 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6402, allocations: 99.5 kB / 1.195 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.6434, allocations: 1.487 MB / 1.197 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.6464, allocations: 1.828 MB / 1.199 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.6491, allocations: 1.462 MB / 1.2 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006454/0.6556, allocations: 6.908 MB / 1.207 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007355/0.663, allocations: 6.942 MB / 1.214 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.6661, allocations: 2.851 MB / 1.216 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.6699, allocations: 3.462 MB / 1.22 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006618/0.6706, allocations: 0.5312 MB / 1.22 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.6725, allocations: 1.178 MB / 1.222 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.6747, allocations: 2.468 MB / 1.224 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.678, allocations: 2.524 MB / 1.226 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00775/0.6858, allocations: 8.546 MB / 1.235 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6858, allocations: 3.938 kB / 1.235 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6858, allocations: 4 kB / 1.235 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.06e-05/0.6859, allocations: 0 / 1.235 GB, free: 13.21 MB / 0.9669 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.006616/0.6925, allocations: 4.543 MB / 1.239 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.6925, allocations: 8.922 kB / 1.239 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006861/0.6932, allocations: 0.5714 MB / 1.24 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007473/0.7007, allocations: 1.703 MB / 1.241 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.7046, allocations: 2.709 MB / 1.244 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.7048, allocations: 279.7 kB / 1.244 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005604/0.7053, allocations: 364.3 kB / 1.245 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00995/0.7153, allocations: 7.487 MB / 1.252 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.102e-05/0.7154, allocations: 11.88 kB / 1.252 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003999/0.7158, allocations: 167.9 kB / 1.252 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005346/0.7163, allocations: 483.3 kB / 1.253 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008088/0.7244, allocations: 5.701 MB / 1.258 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02956/0.754, allocations: 31.56 MB / 1.289 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.7567, allocations: 2.09 MB / 1.291 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/0.7595, allocations: 2.178 MB / 1.293 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.7597, allocations: 13.31 kB / 1.293 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.7597, allocations: 47.88 kB / 1.293 GB, free: 14.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 2.675e-06/0.7597, allocations: 0 / 1.293 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.2841/1.044, allocations: 77.08 MB / 1.369 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/1.044, allocations: 81.41 kB / 1.369 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/1.046, allocations: 1.674 MB / 1.37 GB, free: 15.08 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/1.046, allocations: 65.7 kB / 1.37 GB, free: 15.01 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.048, allocations: 1.792 MB / 1.372 GB, free: 13.21 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007923/1.048, allocations: 0.8946 MB / 1.373 GB, free: 12.3 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009686/1.049, allocations: 493.3 kB / 1.373 GB, free: 11.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.049, allocations: 301.1 kB / 1.374 GB, free: 11.52 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/1.053, allocations: 2.73 MB / 1.376 GB, free: 8.785 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004113/1.057, allocations: 3.332 MB / 1.38 GB, free: 5.207 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008143/1.065, allocations: 6.393 MB / 1.386 GB, free: 14.57 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/1.065, allocations: 8 kB / 1.386 GB, free: 14.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03117/1.097, allocations: 14.68 MB / 1.4 GB, free: 15.84 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.097, allocations: 12 kB / 1.4 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.097, allocations: 16 kB / 1.4 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02797/1.125, allocations: 9.252 MB / 1.409 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/1.126, allocations: 299.4 kB / 1.41 GB, free: 6.238 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07795/1.204, allocations: 52.41 MB / 1.461 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/1.206, allocations: 227.7 kB / 1.461 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/1.207, allocations: 96 kB / 1.461 GB, free: 0.6328 MB / 1.186 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.002323/1.209, allocations: 1.586 MB / 1.463 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/1.209, allocations: 262.5 kB / 1.463 GB, free: 14.78 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/1.241, allocations: 14.75 MB / 1.477 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.241, allocations: 28 kB / 1.477 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-05/1.241, allocations: 44 kB / 1.477 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/1.241, allocations: 11.95 kB / 1.477 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03877/1.28, allocations: 20.52 MB / 1.497 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.28, allocations: 4 kB / 1.497 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/1.28, allocations: 163.7 kB / 1.497 GB, free: 10.99 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02755/1.308, allocations: 9.012 MB / 1.506 GB, free: 1.953 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.308, allocations: 48 kB / 1.506 GB, free: 1.906 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.548/1.856, allocations: 51.94 MB / 1.557 GB, free: 360.8 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/1.856, allocations: 10.83 kB / 1.557 GB, free: 360.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/1.884, allocations: 14.39 MB / 1.571 GB, free: 359.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.885, allocations: 0.857 MB / 1.572 GB, free: 359.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/1.886, allocations: 51.08 kB / 1.572 GB, free: 359.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.888, allocations: 212 kB / 1.572 GB, free: 359.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/1.889, allocations: 233.8 kB / 1.572 GB, free: 359.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.889, allocations: 65.88 kB / 1.572 GB, free: 359.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001092/1.89, allocations: 1.126 MB / 1.574 GB, free: 358.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/1.89, allocations: 0 / 1.574 GB, free: 358.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003228/1.893, allocations: 1.618 MB / 1.575 GB, free: 358.8 MB / 1.279 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.02559/1.919, allocations: 14.99 MB / 1.59 GB, free: 352.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01826/1.937, allocations: 10.58 MB / 1.6 GB, free: 342.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.937, allocations: 0 / 1.6 GB, free: 342.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01427/1.951, allocations: 7.334 MB / 1.607 GB, free: 335.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.954, allocations: 0.553 MB / 1.608 GB, free: 335 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07444/2.028, allocations: 50.97 MB / 1.658 GB, free: 283.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/2.031, allocations: 3.228 MB / 1.661 GB, free: 279.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008586/2.032, allocations: 391.3 kB / 1.661 GB, free: 279.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/2.033, allocations: 1.465 MB / 1.663 GB, free: 278 MB / 1.279 GB Notification: Performance of SimCode: time 8.61e-07/2.033, allocations: 0 / 1.663 GB, free: 278 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2519/2.285, allocations: 120.8 MB / 1.781 GB, free: 157.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/19.92, allocations: 14.19 kB / 1.781 GB, free: 157.6 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches