Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.00827/0.00827, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001186/0.001186, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 71.88 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.844/0.8454, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02575/0.8711, allocations: 22.6 MB / 1.11 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.8846, allocations: 6.227 MB / 1.116 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.8876, allocations: 92.31 kB / 1.116 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004788/0.8924, allocations: 1.538 MB / 1.117 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.8975, allocations: 1.625 MB / 1.119 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.9019, allocations: 1.351 MB / 1.12 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008709/0.9106, allocations: 5.941 MB / 1.126 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009211/0.9198, allocations: 6.036 MB / 1.132 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.9246, allocations: 2.45 MB / 1.134 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005944/0.9305, allocations: 2.869 MB / 1.137 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.9324, allocations: 457.4 kB / 1.137 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/0.9367, allocations: 1.093 MB / 1.139 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00459/0.9413, allocations: 2.029 MB / 1.14 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007539/0.9489, allocations: 2.17 MB / 1.143 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.9639, allocations: 7.295 MB / 1.15 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9639, allocations: 0 / 1.15 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.715e-06/0.964, allocations: 1.125 kB / 1.15 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003023/0.9643, allocations: 4 kB / 1.15 GB, free: 2.453 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01319/0.9775, allocations: 3.815 MB / 1.153 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.9775, allocations: 9.625 kB / 1.153 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.9787, allocations: 0.5007 MB / 1.154 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006837/0.9856, allocations: 1.213 MB / 1.155 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006701/0.9923, allocations: 2.336 MB / 1.157 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.9926, allocations: 250.7 kB / 1.158 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.9937, allocations: 313.5 kB / 1.158 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/1.006, allocations: 6.211 MB / 1.164 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-05/1.006, allocations: 13.31 kB / 1.164 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/1.007, allocations: 142.4 kB / 1.164 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005155/1.007, allocations: 407.8 kB / 1.165 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0092/1.016, allocations: 4.665 MB / 1.169 GB, free: 6.684 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03485/1.051, allocations: 28.95 MB / 1.197 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/1.053, allocations: 1.424 MB / 1.199 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/1.055, allocations: 1.479 MB / 1.2 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.844e-05/1.055, allocations: 13 kB / 1.2 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/1.055, allocations: 47.5 kB / 1.2 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.607e-06/1.055, allocations: 4 kB / 1.2 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.145/1.2, allocations: 37.25 MB / 1.237 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.201, allocations: 73.34 kB / 1.237 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/1.203, allocations: 1.419 MB / 1.238 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003014/1.203, allocations: 53.7 kB / 1.238 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.204, allocations: 1.542 MB / 1.24 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007649/1.205, allocations: 0.6161 MB / 1.24 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009389/1.206, allocations: 383.3 kB / 1.241 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/1.206, allocations: 301.1 kB / 1.241 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.209, allocations: 1.78 MB / 1.243 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/1.212, allocations: 2.35 MB / 1.245 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005903/1.218, allocations: 4.387 MB / 1.249 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.218, allocations: 4 kB / 1.249 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01871/1.236, allocations: 8.567 MB / 1.258 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/1.237, allocations: 12 kB / 1.258 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/1.237, allocations: 16 kB / 1.258 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01531/1.252, allocations: 4.651 MB / 1.262 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.253, allocations: 299.5 kB / 1.262 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04759/1.301, allocations: 32.58 MB / 1.294 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/1.303, allocations: 147.8 kB / 1.294 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/1.304, allocations: 87.98 kB / 1.295 GB, free: 5.445 MB / 1.029 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002963/1.307, allocations: 1.332 MB / 1.296 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006454/1.307, allocations: 197.6 kB / 1.296 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/1.326, allocations: 8.429 MB / 1.304 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/1.326, allocations: 23.98 kB / 1.304 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.042e-05/1.326, allocations: 31.94 kB / 1.304 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/1.326, allocations: 7.969 kB / 1.304 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02789/1.354, allocations: 12.85 MB / 1.317 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/1.354, allocations: 4 kB / 1.317 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/1.355, allocations: 175.7 kB / 1.317 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/1.37, allocations: 4.491 MB / 1.321 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/1.37, allocations: 40 kB / 1.321 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04981/1.42, allocations: 32.19 MB / 1.353 GB, free: 8.59 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.42, allocations: 15.94 kB / 1.353 GB, free: 8.574 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.438, allocations: 8.233 MB / 1.361 GB, free: 220 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.44, allocations: 0.6158 MB / 1.362 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007307/1.441, allocations: 43.98 kB / 1.362 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.443, allocations: 135.8 kB / 1.362 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/1.444, allocations: 173 kB / 1.362 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.444, allocations: 44 kB / 1.362 GB, free: 15.18 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001926/1.446, allocations: 0.9626 MB / 1.363 GB, free: 14.23 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.446, allocations: 0 / 1.363 GB, free: 14.23 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00514/1.452, allocations: 1.113 MB / 1.364 GB, free: 13.11 MB / 1.107 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01835/1.47, allocations: 8.844 MB / 1.373 GB, free: 4.129 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01561/1.486, allocations: 6.543 MB / 1.379 GB, free: 13.51 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.486, allocations: 0.875 kB / 1.379 GB, free: 13.51 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/1.496, allocations: 4.358 MB / 1.383 GB, free: 9.07 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.5, allocations: 0.5309 MB / 1.384 GB, free: 8.551 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07178/1.572, allocations: 33.62 MB / 1.417 GB, free: 6.012 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004991/1.577, allocations: 2.719 MB / 1.419 GB, free: 3.258 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001267/1.578, allocations: 392.5 kB / 1.42 GB, free: 2.871 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/1.58, allocations: 1.21 MB / 1.421 GB, free: 1.66 MB / 1.154 GB Notification: Performance of SimCode: time 1.192e-06/1.58, allocations: 0 / 1.421 GB, free: 1.66 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/1.87, allocations: 85.77 MB / 1.505 GB, free: 12.39 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/15.27, allocations: 10.33 kB / 1.505 GB, free: 12.39 MB / 1.248 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches