Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_RLC,fileNamePrefix="Buildings_10_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_10_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.001414/0.001414, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001603/0.001604, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.389/2.389, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001387, allocations: 64.09 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.5231, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01042/0.5335, allocations: 10 MB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.5376, allocations: 3.021 MB / 1.03 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.5379, allocations: 35.81 kB / 1.03 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.5394, allocations: 0.6184 MB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009765/0.5404, allocations: 0.6537 MB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.5414, allocations: 0.5772 MB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.5435, allocations: 2.75 MB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/0.5468, allocations: 3.069 MB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.5479, allocations: 1.137 MB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.5492, allocations: 1.469 MB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.5495, allocations: 216 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.5501, allocations: 491.4 kB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007539/0.5509, allocations: 0.9785 MB / 1.041 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008123/0.5517, allocations: 1.019 MB / 1.042 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.5541, allocations: 3.408 MB / 1.046 GB, free: 5.148 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5541, allocations: 0 / 1.046 GB, free: 5.148 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5541, allocations: 0 / 1.046 GB, free: 5.148 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.5542, allocations: 4 kB / 1.046 GB, free: 5.145 MB / 0.795 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.002773/0.5569, allocations: 1.944 MB / 1.048 GB, free: 3.145 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.557, allocations: 8.031 kB / 1.048 GB, free: 3.137 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/0.5573, allocations: 252.7 kB / 1.048 GB, free: 2.879 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.5623, allocations: 0.8844 MB / 1.049 GB, free: 1.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.5638, allocations: 1.118 MB / 1.05 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.5638, allocations: 115.3 kB / 1.05 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.5641, allocations: 140.3 kB / 1.05 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.5679, allocations: 3.021 MB / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.5679, allocations: 4 kB / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.5681, allocations: 63.97 kB / 1.053 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.5683, allocations: 175 kB / 1.053 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.5716, allocations: 2.608 MB / 1.056 GB, free: 10.61 MB / 0.8106 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.01249/0.5841, allocations: 13.57 MB / 1.069 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5858, allocations: 1.288 MB / 1.07 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.587, allocations: 1.058 MB / 1.071 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.309e-05/0.5871, allocations: 8.656 kB / 1.071 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.5871, allocations: 47.22 kB / 1.071 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.264e-06/0.5871, allocations: 0 / 1.071 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.06393/0.651, allocations: 19.37 MB / 1.09 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.6511, allocations: 72.66 kB / 1.09 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.6521, allocations: 0.9222 MB / 1.091 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6522, allocations: 49.7 kB / 1.091 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.6526, allocations: 0.7283 MB / 1.092 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.653, allocations: 489 kB / 1.092 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/0.6535, allocations: 299.3 kB / 1.093 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6536, allocations: 349.9 kB / 1.093 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.6553, allocations: 1.335 MB / 1.094 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.6571, allocations: 1.662 MB / 1.096 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.6606, allocations: 3.08 MB / 1.099 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6606, allocations: 0 / 1.099 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01019/0.6708, allocations: 5.641 MB / 1.105 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6708, allocations: 11.94 kB / 1.105 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.6708, allocations: 8 kB / 1.105 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007942/0.6788, allocations: 2.74 MB / 1.107 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.6795, allocations: 191.7 kB / 1.107 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03101/0.7105, allocations: 25.74 MB / 1.133 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.7118, allocations: 95.94 kB / 1.133 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.7119, allocations: 59.98 kB / 1.133 GB, free: 9.652 MB / 0.8887 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.0009669/0.7129, allocations: 0.7277 MB / 1.133 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.7131, allocations: 118.6 kB / 1.134 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.7232, allocations: 5.4 MB / 1.139 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.7232, allocations: 12 kB / 1.139 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.7232, allocations: 24 kB / 1.139 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.7232, allocations: 3.984 kB / 1.139 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.7372, allocations: 8.64 MB / 1.147 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.7372, allocations: 4 kB / 1.147 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.7376, allocations: 119.8 kB / 1.147 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007645/0.7453, allocations: 2.556 MB / 1.15 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.7454, allocations: 32 kB / 1.15 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0284/0.7738, allocations: 23 MB / 1.172 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7739, allocations: 8.375 kB / 1.172 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009575/0.7834, allocations: 5.126 MB / 1.177 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.7842, allocations: 475.7 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.7844, allocations: 28 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/0.7852, allocations: 87.83 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/0.7857, allocations: 125 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.833e-05/0.7858, allocations: 36 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007063/0.7865, allocations: 0.6473 MB / 1.179 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7865, allocations: 3.938 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001889/0.7884, allocations: 0.7227 MB / 1.179 GB, free: 8.934 MB / 0.9356 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.009516/0.7979, allocations: 5.706 MB / 1.185 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006897/0.8048, allocations: 4.735 MB / 1.19 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8048, allocations: 4.188 kB / 1.19 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004428/0.8093, allocations: 2.646 MB / 1.192 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.8104, allocations: 226.7 kB / 1.192 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0329/0.8433, allocations: 22.56 MB / 1.214 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.8446, allocations: 1.708 MB / 1.216 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006733/0.8453, allocations: 329.4 kB / 1.216 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.8459, allocations: 0.5344 MB / 1.217 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of SimCode: time 6.22e-07/0.8459, allocations: 0 / 1.217 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.014/3.86, allocations: 51.77 MB / 1.268 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/3.86, allocations: 256.7 kB / 1.268 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/6.148, allocations: 3.094 kB / 1.268 GB, free: 217.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches