Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001462/0.001462, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.623/2.623, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 70.66 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2504, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01131/0.2617, allocations: 10.02 MB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.2664, allocations: 3.045 MB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/0.2668, allocations: 35.81 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2683, allocations: 0.6775 MB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.2695, allocations: 0.6923 MB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2706, allocations: 0.641 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002429/0.2731, allocations: 2.738 MB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.2756, allocations: 2.55 MB / 1.084 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.2769, allocations: 1.118 MB / 1.085 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.2784, allocations: 1.383 MB / 1.086 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002754/0.2787, allocations: 216 kB / 1.087 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007816/0.2795, allocations: 495.4 kB / 1.087 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008443/0.2803, allocations: 0.9824 MB / 1.088 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009324/0.2812, allocations: 1.004 MB / 1.089 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.2839, allocations: 3.389 MB / 1.092 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2839, allocations: 4 kB / 1.092 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2839, allocations: 0 / 1.092 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.284, allocations: 0 / 1.092 GB, free: 1.105 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002921/0.2869, allocations: 1.947 MB / 1.094 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.2869, allocations: 8.031 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/0.2872, allocations: 248.7 kB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005343/0.2926, allocations: 0.8882 MB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.2942, allocations: 1.122 MB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/0.2943, allocations: 115.3 kB / 1.097 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.2946, allocations: 140.4 kB / 1.097 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/0.2987, allocations: 3.021 MB / 1.1 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.2987, allocations: 0 / 1.1 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.2989, allocations: 59.98 kB / 1.1 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/0.2991, allocations: 179 kB / 1.1 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/0.3028, allocations: 2.612 MB / 1.102 GB, free: 6.559 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.01447/0.3173, allocations: 13.57 MB / 1.116 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.3191, allocations: 1.295 MB / 1.117 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.3205, allocations: 1.043 MB / 1.118 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.3205, allocations: 12.66 kB / 1.118 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3206, allocations: 47.16 kB / 1.118 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.803e-06/0.3206, allocations: 0 / 1.118 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.06931/0.3899, allocations: 19.38 MB / 1.137 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3899, allocations: 64.72 kB / 1.137 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.391, allocations: 0.9222 MB / 1.138 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.736e-05/0.3911, allocations: 49.7 kB / 1.138 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.3916, allocations: 0.7283 MB / 1.139 GB, free: 136 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.392, allocations: 493.1 kB / 1.139 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005204/0.3925, allocations: 291.4 kB / 1.139 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3927, allocations: 349.9 kB / 1.14 GB, free: 15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.3945, allocations: 1.339 MB / 1.141 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.3965, allocations: 1.659 MB / 1.143 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.4004, allocations: 3.096 MB / 1.146 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.4004, allocations: 4 kB / 1.146 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0109/0.4113, allocations: 5.633 MB / 1.151 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4113, allocations: 15.94 kB / 1.151 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4113, allocations: 8 kB / 1.151 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008079/0.4194, allocations: 2.74 MB / 1.154 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.4201, allocations: 191.7 kB / 1.154 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03453/0.4546, allocations: 25.73 MB / 1.179 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.456, allocations: 96.45 kB / 1.179 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4561, allocations: 55.98 kB / 1.179 GB, free: 5.605 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.4572, allocations: 0.7316 MB / 1.18 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.4574, allocations: 114.6 kB / 1.18 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.4681, allocations: 5.392 MB / 1.185 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4681, allocations: 19.98 kB / 1.186 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/0.4682, allocations: 24 kB / 1.186 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4682, allocations: 3.984 kB / 1.186 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.4833, allocations: 8.644 MB / 1.194 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4834, allocations: 0 / 1.194 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.4838, allocations: 123.8 kB / 1.194 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007794/0.4916, allocations: 2.56 MB / 1.197 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4917, allocations: 31.98 kB / 1.197 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03131/0.523, allocations: 23 MB / 1.219 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.523, allocations: 7.938 kB / 1.219 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.5333, allocations: 5.134 MB / 1.224 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.5342, allocations: 471.6 kB / 1.225 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.5344, allocations: 28 kB / 1.225 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008858/0.5353, allocations: 79.89 kB / 1.225 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.5359, allocations: 121 kB / 1.225 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.536, allocations: 40 kB / 1.225 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008017/0.5368, allocations: 0.6434 MB / 1.225 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5368, allocations: 0 / 1.225 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002004/0.5388, allocations: 0.7188 MB / 1.226 GB, free: 4.887 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/0.5492, allocations: 5.724 MB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007573/0.5568, allocations: 4.739 MB / 1.236 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5568, allocations: 192 / 1.236 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004933/0.5617, allocations: 2.65 MB / 1.239 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.5629, allocations: 215.5 kB / 1.239 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4159/0.9789, allocations: 21.83 MB / 1.26 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.9802, allocations: 1.709 MB / 1.262 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000826/0.981, allocations: 331 kB / 1.262 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.9815, allocations: 0.5325 MB / 1.263 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.9815, allocations: 0 / 1.263 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.038/4.02, allocations: 51.37 MB / 1.313 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/17.28, allocations: 6.734 kB / 1.313 GB, free: 142.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches