Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,fileNamePrefix="Buildings_10_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_10_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.001387/0.001387, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 192.8 kB / 16.13 MB, free: 6.652 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.278/1.278, 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 10.1.0-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 56.05 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5135, allocations: 151.6 MB / 1.017 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02373/0.5373, allocations: 22.42 MB / 1.039 GB, free: 12.42 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00995/0.5472, allocations: 6.241 MB / 1.045 GB, free: 6.164 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.549, allocations: 83.56 kB / 1.045 GB, free: 6.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.5526, allocations: 1.411 MB / 1.046 GB, free: 4.668 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.556, allocations: 1.545 MB / 1.048 GB, free: 3.117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.5589, allocations: 1.233 MB / 1.049 GB, free: 1.887 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007614/0.5665, allocations: 8.856 MB / 1.058 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008987/0.5755, allocations: 6.732 MB / 1.064 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.5788, allocations: 2.051 MB / 1.066 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003982/0.5828, allocations: 2.964 MB / 1.069 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0009007/0.5838, allocations: 316 kB / 1.069 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.5862, allocations: 1.135 MB / 1.07 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002063/0.5882, allocations: 1.898 MB / 1.072 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.5906, allocations: 2.003 MB / 1.074 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.5962, allocations: 7.194 MB / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5962, allocations: 0 / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5962, allocations: 0 / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-05/0.5963, allocations: 4 kB / 1.081 GB, free: 0.5938 MB / 0.8262 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.005943/0.6023, allocations: 3.806 MB / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.6023, allocations: 12.03 kB / 1.085 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005714/0.6029, allocations: 0.4975 MB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005598/0.6085, allocations: 1.21 MB / 1.087 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/0.6118, allocations: 2.231 MB / 1.089 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.6119, allocations: 234.4 kB / 1.089 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004623/0.6124, allocations: 323.8 kB / 1.089 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008465/0.6209, allocations: 6.209 MB / 1.095 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-05/0.6209, allocations: 19.88 kB / 1.095 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/0.6213, allocations: 132 kB / 1.096 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004392/0.6217, allocations: 410.3 kB / 1.096 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006744/0.6285, allocations: 4.658 MB / 1.101 GB, free: 12.48 MB / 0.8575 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.02486/0.6533, allocations: 29.14 MB / 1.129 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.6552, allocations: 1.42 MB / 1.13 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.6569, allocations: 1.499 MB / 1.132 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.6571, allocations: 9 kB / 1.132 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6571, allocations: 51.5 kB / 1.132 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.434e-06/0.6571, allocations: 0 / 1.132 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1291/0.7862, allocations: 37.23 MB / 1.168 GB, free: 4.316 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.7863, allocations: 73.34 kB / 1.168 GB, free: 4.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.7881, allocations: 1.411 MB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.7883, allocations: 57.7 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008858/0.7892, allocations: 1.542 MB / 1.171 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/0.7898, allocations: 0.6122 MB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006831/0.7905, allocations: 383.3 kB / 1.172 GB, free: 192 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7906, allocations: 305.1 kB / 1.172 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.7929, allocations: 1.784 MB / 1.174 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.7956, allocations: 2.35 MB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.801, allocations: 4.391 MB / 1.181 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.801, allocations: 4 kB / 1.181 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0165/0.8175, allocations: 8.567 MB / 1.189 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.8175, allocations: 12 kB / 1.189 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.8176, allocations: 20 kB / 1.189 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01432/0.8319, allocations: 4.633 MB / 1.194 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.833, allocations: 311.4 kB / 1.194 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04062/0.8736, allocations: 29.66 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.8757, allocations: 155.8 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.8759, allocations: 87.98 kB / 1.223 GB, free: 10.55 MB / 0.9825 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.001935/0.8778, allocations: 1.325 MB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.8781, allocations: 201.6 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/0.8946, allocations: 8.437 MB / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.8947, allocations: 20 kB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.816e-05/0.8947, allocations: 24 kB / 1.233 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.8948, allocations: 7.969 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/0.9174, allocations: 12.85 MB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.9174, allocations: 4 kB / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.9181, allocations: 176.5 kB / 1.246 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4555/1.374, allocations: 4.47 MB / 1.25 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003737/1.374, allocations: 37.47 kB / 1.25 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0418/1.416, allocations: 29.27 MB / 1.279 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.416, allocations: 10 kB / 1.279 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.43, allocations: 8.239 MB / 1.287 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.431, allocations: 0.6146 MB / 1.287 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/1.432, allocations: 39.05 kB / 1.287 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.433, allocations: 134.8 kB / 1.288 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008677/1.434, allocations: 168.5 kB / 1.288 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.434, allocations: 51.06 kB / 1.288 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001168/1.435, allocations: 0.9627 MB / 1.289 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.435, allocations: 3.781 kB / 1.289 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002909/1.438, allocations: 1.113 MB / 1.29 GB, free: 196.3 MB / 0.9981 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.01405/1.452, allocations: 8.844 MB / 1.298 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00986/1.462, allocations: 6.507 MB / 1.305 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.462, allocations: 4.875 kB / 1.305 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007459/1.47, allocations: 4.372 MB / 1.309 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/1.472, allocations: 496.3 kB / 1.31 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0497/1.522, allocations: 36.72 MB / 1.345 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/1.524, allocations: 2.722 MB / 1.348 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001104/1.525, allocations: 392.5 kB / 1.348 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.526, allocations: 1.21 MB / 1.35 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.342e-06/1.526, allocations: 3.938 kB / 1.35 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08593/1.612, allocations: 80.95 MB / 1.429 GB, free: 58.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/1.612, allocations: 254.8 kB / 1.429 GB, free: 57.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.469, allocations: 0 / 1.429 GB, free: 57.79 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches