Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_RLC,fileNamePrefix="Buildings_9_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_9_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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001192/0.001192, allocations: 193 kB / 16.13 MB, free: 6.648 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.103/2.103, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5463, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008401/0.5548, allocations: 9.977 MB / 0.9588 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.5587, allocations: 3.039 MB / 0.9618 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.5591, allocations: 33.06 kB / 0.9618 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.5605, allocations: 0.6341 MB / 0.9624 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.5617, allocations: 0.6559 MB / 0.9631 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.5627, allocations: 0.5859 MB / 0.9636 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.566, allocations: 4.066 MB / 0.9676 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.5694, allocations: 2.817 MB / 0.9704 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.5707, allocations: 0.9545 MB / 0.9713 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.5723, allocations: 1.432 MB / 0.9727 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.5726, allocations: 148.7 kB / 0.9728 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/0.5735, allocations: 0.489 MB / 0.9733 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007835/0.5743, allocations: 0.918 MB / 0.9742 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008752/0.5751, allocations: 0.9367 MB / 0.9751 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.5775, allocations: 3.354 MB / 0.9784 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5775, allocations: 4 kB / 0.9784 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5775, allocations: 0 / 0.9784 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.921e-05/0.5776, allocations: 0 / 0.9784 GB, free: 3.957 MB / 0.7325 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.002772/0.5803, allocations: 1.94 MB / 0.9803 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5804, allocations: 12.03 kB / 0.9803 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000272/0.5807, allocations: 248.7 kB / 0.9805 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005068/0.5857, allocations: 0.8883 MB / 0.9814 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.5873, allocations: 1.118 MB / 0.9825 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.5873, allocations: 111.2 kB / 0.9826 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.5876, allocations: 140.3 kB / 0.9827 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/0.5914, allocations: 3.013 MB / 0.9857 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.5914, allocations: 7.938 kB / 0.9857 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.5916, allocations: 63.97 kB / 0.9858 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001862/0.5918, allocations: 179 kB / 0.9859 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.5953, allocations: 2.608 MB / 0.9885 GB, free: 9.422 MB / 0.7481 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.01305/0.6083, allocations: 13.56 MB / 1.002 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.61, allocations: 1.302 MB / 1.003 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.6113, allocations: 1.047 MB / 1.004 GB, free: 8.391 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/0.6114, allocations: 16.64 kB / 1.004 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.6114, allocations: 43.22 kB / 1.004 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.415e-06/0.6114, allocations: 0 / 1.004 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.06437/0.6758, allocations: 19.38 MB / 1.023 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.6758, allocations: 72.66 kB / 1.023 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009696/0.6768, allocations: 0.9183 MB / 1.024 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.6769, allocations: 53.7 kB / 1.024 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.6773, allocations: 0.7244 MB / 1.025 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.6777, allocations: 492.9 kB / 1.025 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005185/0.6782, allocations: 299.3 kB / 1.025 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6783, allocations: 353.9 kB / 1.026 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.68, allocations: 1.331 MB / 1.027 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.6819, allocations: 1.662 MB / 1.029 GB, free: 14.74 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.6854, allocations: 3.088 MB / 1.032 GB, free: 11.54 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6854, allocations: 0 / 1.032 GB, free: 11.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01037/0.6958, allocations: 5.632 MB / 1.037 GB, free: 5.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6958, allocations: 13.19 kB / 1.037 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.6959, allocations: 8 kB / 1.037 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008227/0.7041, allocations: 2.724 MB / 1.04 GB, free: 3.121 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.7048, allocations: 191.7 kB / 1.04 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02891/0.7337, allocations: 23.34 MB / 1.063 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.7348, allocations: 95.95 kB / 1.063 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.735, allocations: 56 kB / 1.063 GB, free: 10.89 MB / 0.8262 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.0009447/0.7359, allocations: 0.7238 MB / 1.064 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.7362, allocations: 122.6 kB / 1.064 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.7462, allocations: 5.392 MB / 1.069 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.7462, allocations: 16 kB / 1.069 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.7463, allocations: 20 kB / 1.069 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.7463, allocations: 11.91 kB / 1.069 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.7602, allocations: 8.641 MB / 1.078 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7602, allocations: 4 kB / 1.078 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.7606, allocations: 115.8 kB / 1.078 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007672/0.7683, allocations: 2.542 MB / 1.08 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.7684, allocations: 28 kB / 1.08 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02651/0.7949, allocations: 20.9 MB / 1.101 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7949, allocations: 4.109 kB / 1.101 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009326/0.8043, allocations: 5.146 MB / 1.106 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/0.805, allocations: 471.5 kB / 1.106 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.8052, allocations: 31.98 kB / 1.106 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/0.806, allocations: 79.91 kB / 1.106 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/0.8064, allocations: 129 kB / 1.106 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.8065, allocations: 32 kB / 1.106 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006971/0.8072, allocations: 0.6436 MB / 1.107 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8072, allocations: 0 / 1.107 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001864/0.8091, allocations: 0.7265 MB / 1.108 GB, free: 12.3 MB / 0.8731 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.009579/0.8187, allocations: 5.706 MB / 1.113 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006057/0.8247, allocations: 4.145 MB / 1.117 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8248, allocations: 0 / 1.117 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00453/0.8293, allocations: 2.658 MB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.8305, allocations: 207.1 kB / 1.12 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03467/0.8652, allocations: 22.55 MB / 1.142 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.8665, allocations: 1.711 MB / 1.144 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007194/0.8673, allocations: 325.4 kB / 1.144 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005783/0.8678, allocations: 0.5344 MB / 1.145 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of SimCode: time 6.91e-07/0.8678, allocations: 0 / 1.145 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.705/2.572, allocations: 50.42 MB / 1.194 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/2.573, allocations: 255 kB / 1.194 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/5.168, allocations: 6.953 kB / 1.194 GB, free: 3.312 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches