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.001196/0.001196, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001184/0.001184, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.351/2.351, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 63.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.5002, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02136/0.5216, allocations: 22.43 MB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008815/0.5304, allocations: 6.178 MB / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.5319, allocations: 87.5 kB / 1.045 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.5354, allocations: 1.408 MB / 1.046 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.5389, allocations: 1.506 MB / 1.048 GB, free: 3.012 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.5418, allocations: 1.242 MB / 1.049 GB, free: 1.773 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006231/0.548, allocations: 5.974 MB / 1.055 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/0.5589, allocations: 7.246 MB / 1.062 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004586/0.5635, allocations: 2.453 MB / 1.064 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005956/0.5695, allocations: 3.038 MB / 1.067 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.5709, allocations: 456 kB / 1.068 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.5737, allocations: 1.096 MB / 1.069 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.5762, allocations: 2.039 MB / 1.071 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003001/0.5792, allocations: 2.167 MB / 1.073 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00582/0.5851, allocations: 7.299 MB / 1.08 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5851, allocations: 0 / 1.08 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5851, allocations: 3.984 kB / 1.08 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.399e-05/0.5852, allocations: 4 kB / 1.08 GB, free: 1.859 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.005502/0.5907, allocations: 3.809 MB / 1.084 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5908, allocations: 8.031 kB / 1.084 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005573/0.5913, allocations: 0.5015 MB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005379/0.5967, allocations: 1.21 MB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.5999, allocations: 2.219 MB / 1.088 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.6001, allocations: 246.3 kB / 1.088 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/0.6006, allocations: 319.9 kB / 1.088 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008727/0.6093, allocations: 6.209 MB / 1.094 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.941e-05/0.6094, allocations: 15.84 kB / 1.094 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/0.6098, allocations: 136 kB / 1.094 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004556/0.6102, allocations: 410.2 kB / 1.095 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006662/0.6169, allocations: 4.658 MB / 1.099 GB, free: 13.74 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.02783/0.6447, allocations: 29.13 MB / 1.128 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.6465, allocations: 1.422 MB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.6482, allocations: 1.495 MB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.456e-05/0.6483, allocations: 9 kB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.6484, allocations: 47.5 kB / 1.131 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.715e-06/0.6484, allocations: 0 / 1.131 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1254/0.7738, allocations: 37.23 MB / 1.167 GB, free: 5.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.7739, allocations: 73.34 kB / 1.167 GB, free: 5.508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.7759, allocations: 1.419 MB / 1.168 GB, free: 4.082 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002731/0.7762, allocations: 57.7 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009644/0.7772, allocations: 1.538 MB / 1.17 GB, free: 2.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.7778, allocations: 0.6123 MB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007607/0.7786, allocations: 387.3 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.7787, allocations: 301.1 kB / 1.171 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/0.7811, allocations: 1.784 MB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.7839, allocations: 2.354 MB / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.7892, allocations: 4.387 MB / 1.18 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.7893, allocations: 4 kB / 1.18 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01674/0.806, allocations: 8.567 MB / 1.188 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.8061, allocations: 15.98 kB / 1.188 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.8061, allocations: 16 kB / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01402/0.8201, allocations: 4.668 MB / 1.193 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8213, allocations: 299.5 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04483/0.8662, allocations: 32.61 MB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.8681, allocations: 147.8 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/0.8685, allocations: 87.98 kB / 1.225 GB, free: 8.82 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.002215/0.8707, allocations: 1.338 MB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.8713, allocations: 193.7 kB / 1.226 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/0.8879, allocations: 8.433 MB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.888, allocations: 20 kB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.805e-05/0.888, allocations: 31.94 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/0.8881, allocations: 7.969 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0239/0.912, allocations: 12.84 MB / 1.247 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.912, allocations: 4 kB / 1.247 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.9127, allocations: 171.8 kB / 1.247 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4159/1.329, allocations: 4.513 MB / 1.252 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/1.329, allocations: 35.75 kB / 1.252 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03846/1.367, allocations: 32.22 MB / 1.283 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.367, allocations: 15.72 kB / 1.283 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.38, allocations: 8.25 MB / 1.291 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000791/1.381, allocations: 0.6144 MB / 1.292 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/1.381, allocations: 43.44 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.383, allocations: 138.2 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006632/1.383, allocations: 166.9 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.383, allocations: 48.97 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009164/1.384, allocations: 0.9623 MB / 1.293 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.384, allocations: 0 / 1.293 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002217/1.386, allocations: 1.112 MB / 1.294 GB, free: 194 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.01287/1.399, allocations: 8.844 MB / 1.303 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009809/1.409, allocations: 7.059 MB / 1.31 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.409, allocations: 8.312 kB / 1.31 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006801/1.416, allocations: 4.365 MB / 1.314 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.418, allocations: 0.5197 MB / 1.315 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04352/1.462, allocations: 36.72 MB / 1.351 GB, free: 137.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/1.463, allocations: 2.726 MB / 1.353 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008423/1.464, allocations: 388.6 kB / 1.354 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008821/1.465, allocations: 1.214 MB / 1.355 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/1.465, allocations: 0 / 1.355 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.924/4.389, allocations: 83.3 MB / 1.436 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/4.39, allocations: 258.7 kB / 1.436 GB, free: 50.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/7.17, allocations: 0 / 1.436 GB, free: 50.1 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