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.0009081/0.0009082, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005455/0.005455, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.25/2.25, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002884, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5103, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02158/0.532, allocations: 21.8 MB / 1.044 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00889/0.5409, allocations: 6.183 MB / 1.05 GB, free: 3.785 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5422, allocations: 79.5 kB / 1.051 GB, free: 3.707 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008759/0.5431, allocations: 436.7 kB / 1.051 GB, free: 3.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.5457, allocations: 1.541 MB / 1.052 GB, free: 1.73 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.5478, allocations: 1.095 MB / 1.054 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006688/0.5545, allocations: 8.86 MB / 1.062 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008691/0.5632, allocations: 7.175 MB / 1.069 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.5652, allocations: 1.762 MB / 1.071 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.5678, allocations: 2.609 MB / 1.073 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.5681, allocations: 200 kB / 1.074 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.5696, allocations: 1.021 MB / 1.075 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.571, allocations: 1.719 MB / 1.076 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.5725, allocations: 1.825 MB / 1.078 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.5775, allocations: 6.976 MB / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5775, allocations: 0 / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5775, allocations: 0 / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.583e-05/0.5775, allocations: 0 / 1.085 GB, free: 340 kB / 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.004446/0.582, allocations: 3.074 MB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.582, allocations: 8.031 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005766/0.5826, allocations: 0.5053 MB / 1.088 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005357/0.588, allocations: 1.217 MB / 1.09 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.5909, allocations: 2.207 MB / 1.092 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.5911, allocations: 242.4 kB / 1.092 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/0.5916, allocations: 319.8 kB / 1.092 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007944/0.5995, allocations: 6.212 MB / 1.098 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-05/0.5996, allocations: 15.88 kB / 1.098 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/0.5999, allocations: 139.9 kB / 1.099 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004301/0.6004, allocations: 406.3 kB / 1.099 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006227/0.6066, allocations: 4.658 MB / 1.103 GB, free: 12.95 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.02356/0.6302, allocations: 29.07 MB / 1.132 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.632, allocations: 1.424 MB / 1.133 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.6337, allocations: 1.487 MB / 1.135 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.6338, allocations: 13 kB / 1.135 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.6338, allocations: 55.44 kB / 1.135 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.464e-06/0.6338, allocations: 0 / 1.135 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1351/0.7689, allocations: 36.31 MB / 1.17 GB, free: 5.777 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.769, allocations: 73.34 kB / 1.17 GB, free: 5.695 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.7709, allocations: 1.419 MB / 1.172 GB, free: 4.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.771, allocations: 61.7 kB / 1.172 GB, free: 4.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009096/0.772, allocations: 1.535 MB / 1.173 GB, free: 2.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000518/0.7725, allocations: 0.6161 MB / 1.174 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.7728, allocations: 161.7 kB / 1.174 GB, free: 1.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.7729, allocations: 301.1 kB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/0.7752, allocations: 1.788 MB / 1.176 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.7779, allocations: 2.35 MB / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005261/0.7832, allocations: 4.391 MB / 1.183 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.7832, allocations: 4 kB / 1.183 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01659/0.7998, allocations: 8.563 MB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.7998, allocations: 12 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.7998, allocations: 16 kB / 1.191 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01376/0.8136, allocations: 4.646 MB / 1.196 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/0.8146, allocations: 303.4 kB / 1.196 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04012/0.8547, allocations: 29.48 MB / 1.225 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.8565, allocations: 151.8 kB / 1.225 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.8567, allocations: 80 kB / 1.225 GB, free: 12.41 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.001984/0.8587, allocations: 1.325 MB / 1.226 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.8591, allocations: 205.6 kB / 1.226 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/0.8758, allocations: 8.441 MB / 1.235 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.8759, allocations: 19.94 kB / 1.235 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.495e-05/0.8759, allocations: 24 kB / 1.235 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.8759, allocations: 7.969 kB / 1.235 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/0.8985, allocations: 12.86 MB / 1.247 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.8985, allocations: 7.984 kB / 1.247 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.8992, allocations: 163.8 kB / 1.247 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/0.9124, allocations: 4.49 MB / 1.252 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.9126, allocations: 36 kB / 1.252 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4592/1.372, allocations: 29.09 MB / 1.28 GB, free: 199.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.372, allocations: 11.16 kB / 1.28 GB, free: 199.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.385, allocations: 8.246 MB / 1.288 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008715/1.386, allocations: 0.6192 MB / 1.289 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/1.387, allocations: 37.81 kB / 1.289 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.388, allocations: 135.7 kB / 1.289 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006419/1.388, allocations: 170.6 kB / 1.289 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.389, allocations: 51.25 kB / 1.289 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009057/1.389, allocations: 0.9567 MB / 1.29 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.389, allocations: 0 / 1.29 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002184/1.392, allocations: 1.118 MB / 1.291 GB, free: 196.1 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.01328/1.405, allocations: 8.837 MB / 1.3 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009023/1.414, allocations: 6.425 MB / 1.306 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.414, allocations: 4.875 kB / 1.306 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006877/1.421, allocations: 4.287 MB / 1.31 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/1.424, allocations: 0.493 MB / 1.311 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04453/1.468, allocations: 36.71 MB / 1.347 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/1.47, allocations: 2.737 MB / 1.349 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008124/1.471, allocations: 381.2 kB / 1.35 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000909/1.472, allocations: 1.21 MB / 1.351 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.472, allocations: 4 kB / 1.351 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.363/4.835, allocations: 78.75 MB / 1.428 GB, free: 59.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/4.835, allocations: 247.4 kB / 1.428 GB, free: 59.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/7.562, allocations: 0 / 1.428 GB, free: 59.66 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