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.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,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.004992/0.004992, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001445/0.001445, allocations: 202 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.398/2.398, allocations: 437.1 MB / 0.7106 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 75.88 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2573, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02496/0.2823, allocations: 22.6 MB / 1.188 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009938/0.2923, allocations: 6.233 MB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009351/0.2933, allocations: 95.5 kB / 1.194 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.2967, allocations: 1.551 MB / 1.196 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.2995, allocations: 1.625 MB / 1.198 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.3021, allocations: 1.344 MB / 1.199 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005722/0.3078, allocations: 5.939 MB / 1.205 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006502/0.3143, allocations: 6.041 MB / 1.211 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.3172, allocations: 2.411 MB / 1.213 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.3205, allocations: 2.878 MB / 1.216 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005944/0.3211, allocations: 460 kB / 1.216 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.323, allocations: 1.096 MB / 1.217 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001805/0.3248, allocations: 2.031 MB / 1.219 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.3269, allocations: 2.163 MB / 1.221 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006618/0.3335, allocations: 7.312 MB / 1.228 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3335, allocations: 0 / 1.228 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3335, allocations: 0 / 1.228 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.426e-05/0.3336, allocations: 4 kB / 1.228 GB, free: 7.215 MB / 0.9825 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.006137/0.3398, allocations: 3.909 MB / 1.232 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3398, allocations: 15.97 kB / 1.232 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006173/0.3404, allocations: 0.5054 MB / 1.233 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.3462, allocations: 1.223 MB / 1.234 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.3501, allocations: 2.353 MB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.3503, allocations: 242.3 kB / 1.237 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004855/0.3508, allocations: 311.9 kB / 1.237 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008856/0.3597, allocations: 6.22 MB / 1.243 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.3597, allocations: 11.89 kB / 1.243 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.3601, allocations: 143.9 kB / 1.243 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004696/0.3606, allocations: 402.3 kB / 1.243 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006779/0.3674, allocations: 4.666 MB / 1.248 GB, free: 2.828 MB / 0.9981 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.4543/0.8216, allocations: 28.99 MB / 1.276 GB, free: 52.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.8238, allocations: 1.419 MB / 1.278 GB, free: 52.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.8255, allocations: 1.495 MB / 1.279 GB, free: 51.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.8256, allocations: 12.44 kB / 1.279 GB, free: 51.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.8256, allocations: 44.19 kB / 1.279 GB, free: 51.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 2.565e-06/0.8256, allocations: 0 / 1.279 GB, free: 51.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179): time 0.1315/0.9571, allocations: 37.3 MB / 1.316 GB, free: 42.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.9572, allocations: 73.03 kB / 1.316 GB, free: 42.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.9586, allocations: 1.42 MB / 1.317 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.9587, allocations: 57.58 kB / 1.317 GB, free: 41.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.9593, allocations: 1.58 MB / 1.319 GB, free: 40.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.9597, allocations: 0.6463 MB / 1.319 GB, free: 39.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005865/0.9603, allocations: 379.8 kB / 1.32 GB, free: 39.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.203e-05/0.9603, allocations: 305.1 kB / 1.32 GB, free: 39.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.9621, allocations: 1.783 MB / 1.322 GB, free: 38.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.9641, allocations: 2.347 MB / 1.324 GB, free: 36.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.968, allocations: 4.391 MB / 1.328 GB, free: 33.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.968, allocations: 4 kB / 1.328 GB, free: 33.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01377/0.9818, allocations: 8.58 MB / 1.337 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.9819, allocations: 12 kB / 1.337 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.9819, allocations: 16 kB / 1.337 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/0.9938, allocations: 4.646 MB / 1.341 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.9948, allocations: 299.5 kB / 1.342 GB, free: 19.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03893/1.034, allocations: 32.62 MB / 1.373 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.036, allocations: 147.8 kB / 1.374 GB, free: 2.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/1.036, allocations: 87.98 kB / 1.374 GB, free: 2.121 MB / 1.014 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.00198/1.038, allocations: 1.328 MB / 1.375 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/1.038, allocations: 210.7 kB / 1.375 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/1.055, allocations: 8.441 MB / 1.383 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/1.055, allocations: 20 kB / 1.383 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.056, allocations: 24.25 kB / 1.383 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/1.056, allocations: 7.969 kB / 1.383 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/1.079, allocations: 12.85 MB / 1.396 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.079, allocations: 4 kB / 1.396 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/1.08, allocations: 167.7 kB / 1.396 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0139/1.093, allocations: 4.477 MB / 1.4 GB, free: 6.379 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/1.094, allocations: 40 kB / 1.401 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0467/1.14, allocations: 32.24 MB / 1.432 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.141, allocations: 8 kB / 1.432 GB, free: 5.277 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.157, allocations: 8.253 MB / 1.44 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.159, allocations: 0.6167 MB / 1.441 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/1.159, allocations: 43.98 kB / 1.441 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.16, allocations: 131.8 kB / 1.441 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007128/1.161, allocations: 176.9 kB / 1.441 GB, free: 11.92 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.161, allocations: 44 kB / 1.441 GB, free: 11.88 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001231/1.162, allocations: 0.9588 MB / 1.442 GB, free: 10.93 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.162, allocations: 4 kB / 1.442 GB, free: 10.92 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00278/1.165, allocations: 1.113 MB / 1.443 GB, free: 9.809 MB / 1.092 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.01688/1.182, allocations: 8.849 MB / 1.452 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.195, allocations: 6.556 MB / 1.458 GB, free: 10.2 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.195, allocations: 0 / 1.458 GB, free: 10.2 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00909/1.204, allocations: 4.389 MB / 1.462 GB, free: 5.738 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/1.206, allocations: 0.515 MB / 1.463 GB, free: 5.238 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05744/1.264, allocations: 33.74 MB / 1.496 GB, free: 2.578 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002818/1.266, allocations: 2.729 MB / 1.499 GB, free: 15.81 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009931/1.267, allocations: 388.5 kB / 1.499 GB, free: 15.43 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.269, allocations: 1.218 MB / 1.5 GB, free: 14.21 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.269, allocations: 0 / 1.5 GB, free: 14.21 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.872/3.141, allocations: 83.89 MB / 1.582 GB, free: 10.84 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/21.2, allocations: 10.3 kB / 1.582 GB, free: 10.83 MB / 1.232 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=400 --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