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.006664/0.006664, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001633/0.001633, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.2 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.066/2.066, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6608/0.662, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02274/0.6848, allocations: 22.58 MB / 1.11 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.6951, allocations: 6.236 MB / 1.116 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.6969, allocations: 97.47 kB / 1.116 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003671/0.7006, allocations: 1.533 MB / 1.117 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.7045, allocations: 1.624 MB / 1.119 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.7078, allocations: 1.353 MB / 1.12 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006571/0.7144, allocations: 5.945 MB / 1.126 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006663/0.7211, allocations: 6.039 MB / 1.132 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.7249, allocations: 2.416 MB / 1.134 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003964/0.7289, allocations: 2.869 MB / 1.137 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.73, allocations: 457.3 kB / 1.137 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.7327, allocations: 1.098 MB / 1.138 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.7353, allocations: 2.027 MB / 1.14 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002977/0.7382, allocations: 2.163 MB / 1.143 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008407/0.7467, allocations: 7.298 MB / 1.15 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7467, allocations: 0 / 1.15 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.644e-06/0.7467, allocations: 4.688 kB / 1.15 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001647/0.7469, allocations: 0 / 1.15 GB, free: 2.492 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.007858/0.7548, allocations: 3.815 MB / 1.153 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7548, allocations: 9.562 kB / 1.153 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007535/0.7556, allocations: 0.5009 MB / 1.154 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005971/0.7615, allocations: 1.215 MB / 1.155 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/0.7661, allocations: 2.345 MB / 1.157 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.7662, allocations: 243 kB / 1.158 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006367/0.7669, allocations: 318.5 kB / 1.158 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009484/0.7764, allocations: 6.21 MB / 1.164 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.52e-05/0.7765, allocations: 13.75 kB / 1.164 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003886/0.7769, allocations: 137.7 kB / 1.164 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004799/0.7773, allocations: 409.3 kB / 1.165 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007565/0.7849, allocations: 4.656 MB / 1.169 GB, free: 6.727 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.02771/0.8126, allocations: 28.96 MB / 1.197 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.8145, allocations: 1.415 MB / 1.199 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.8162, allocations: 1.483 MB / 1.2 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-05/0.8163, allocations: 17 kB / 1.2 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.8164, allocations: 51.48 kB / 1.2 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.425e-06/0.8164, allocations: 0 / 1.2 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1388/0.9552, allocations: 37.25 MB / 1.237 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.9553, allocations: 73.34 kB / 1.237 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.957, allocations: 1.427 MB / 1.238 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.9572, allocations: 49.7 kB / 1.238 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00084/0.9581, allocations: 1.546 MB / 1.24 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.9586, allocations: 0.6045 MB / 1.24 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000669/0.9593, allocations: 383.3 kB / 1.241 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.9593, allocations: 301.1 kB / 1.241 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/0.9616, allocations: 1.788 MB / 1.243 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.9642, allocations: 2.354 MB / 1.245 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/0.9693, allocations: 4.387 MB / 1.249 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.9694, allocations: 4 kB / 1.249 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01681/0.9862, allocations: 8.563 MB / 1.258 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.9862, allocations: 12 kB / 1.258 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.9863, allocations: 16.88 kB / 1.258 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/1, allocations: 4.646 MB / 1.262 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.001, allocations: 299.5 kB / 1.262 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04337/1.044, allocations: 32.59 MB / 1.294 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.046, allocations: 147.8 kB / 1.294 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/1.047, allocations: 84 kB / 1.295 GB, free: 5.508 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.002187/1.049, allocations: 1.34 MB / 1.296 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/1.049, allocations: 197.6 kB / 1.296 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/1.067, allocations: 8.429 MB / 1.304 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.067, allocations: 24 kB / 1.304 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.827e-05/1.067, allocations: 27.94 kB / 1.304 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.067, allocations: 7.969 kB / 1.304 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/1.091, allocations: 12.85 MB / 1.317 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.091, allocations: 8.125 kB / 1.317 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/1.092, allocations: 163.9 kB / 1.317 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01386/1.106, allocations: 4.488 MB / 1.321 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/1.106, allocations: 44 kB / 1.321 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04491/1.151, allocations: 32.19 MB / 1.353 GB, free: 8.648 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.151, allocations: 12 kB / 1.353 GB, free: 8.637 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.167, allocations: 8.236 MB / 1.361 GB, free: 280 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.169, allocations: 0.6158 MB / 1.362 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/1.169, allocations: 40 kB / 1.362 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.171, allocations: 135.8 kB / 1.362 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/1.171, allocations: 169 kB / 1.362 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.172, allocations: 48 kB / 1.362 GB, free: 15.25 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001253/1.173, allocations: 0.9664 MB / 1.363 GB, free: 14.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.2e-07/1.173, allocations: 0 / 1.363 GB, free: 14.29 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003087/1.176, allocations: 1.117 MB / 1.364 GB, free: 13.17 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.01636/1.192, allocations: 8.841 MB / 1.373 GB, free: 4.188 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.205, allocations: 6.539 MB / 1.379 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.205, allocations: 0.875 kB / 1.379 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.008866/1.214, allocations: 4.362 MB / 1.383 GB, free: 9.129 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.216, allocations: 0.5231 MB / 1.384 GB, free: 8.617 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05541/1.271, allocations: 33.62 MB / 1.417 GB, free: 6.074 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.275, allocations: 2.719 MB / 1.419 GB, free: 3.32 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009345/1.276, allocations: 392.5 kB / 1.42 GB, free: 2.934 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.277, allocations: 1.218 MB / 1.421 GB, free: 1.715 MB / 1.154 GB Notification: Performance of SimCode: time 1.022e-06/1.277, allocations: 0 / 1.421 GB, free: 1.715 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.805/3.082, allocations: 83.89 MB / 1.503 GB, free: 14.34 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/16.4, allocations: 10.16 kB / 1.503 GB, free: 14.34 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