Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.0007189/0.0007189, 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.004459/0.004459, 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.298/2.298, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 11.98 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5085, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009485/0.518, allocations: 9.592 MB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004586/0.5226, allocations: 3.151 MB / 1.036 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.5232, allocations: 27.88 kB / 1.036 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.5238, allocations: 190.6 kB / 1.036 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.5252, allocations: 0.7042 MB / 1.036 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.5265, allocations: 0.6405 MB / 1.037 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003722/0.5302, allocations: 4.482 MB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003975/0.5342, allocations: 3.148 MB / 1.045 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.5356, allocations: 0.9456 MB / 1.045 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.5376, allocations: 1.449 MB / 1.047 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.5379, allocations: 116 kB / 1.047 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009843/0.5389, allocations: 463.2 kB / 1.047 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008894/0.5398, allocations: 0.9275 MB / 1.048 GB, free: 5.879 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008267/0.5407, allocations: 0.9618 MB / 1.049 GB, free: 4.906 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.5432, allocations: 3.53 MB / 1.053 GB, free: 1.367 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5432, allocations: 0 / 1.053 GB, free: 1.367 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5432, allocations: 0 / 1.053 GB, free: 1.367 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.5432, allocations: 0 / 1.053 GB, free: 1.367 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002712/0.5459, allocations: 1.768 MB / 1.054 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.546, allocations: 12.03 kB / 1.054 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002961/0.5463, allocations: 261.2 kB / 1.055 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008182/0.5544, allocations: 1.313 MB / 1.056 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.556, allocations: 1.263 MB / 1.057 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.5561, allocations: 111.4 kB / 1.057 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/0.5564, allocations: 144.3 kB / 1.057 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.5607, allocations: 3.437 MB / 1.061 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.5608, allocations: 3.938 kB / 1.061 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.561, allocations: 67.97 kB / 1.061 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.5612, allocations: 207.1 kB / 1.061 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.5653, allocations: 3.12 MB / 1.064 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.579, allocations: 13.59 MB / 1.077 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.5812, allocations: 1.728 MB / 1.079 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.5829, allocations: 1.432 MB / 1.081 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.088e-05/0.583, allocations: 20.92 kB / 1.081 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.583, allocations: 43.56 kB / 1.081 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 2.455e-06/0.583, allocations: 4 kB / 1.081 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1372/0.7202, allocations: 35.96 MB / 1.116 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.7203, allocations: 69.41 kB / 1.116 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.7215, allocations: 1.054 MB / 1.117 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.7217, allocations: 57.7 kB / 1.117 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.7221, allocations: 0.7834 MB / 1.118 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.7226, allocations: 0.6239 MB / 1.118 GB, free: 13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.7229, allocations: 157.6 kB / 1.118 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.723, allocations: 301.1 kB / 1.119 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.7254, allocations: 1.928 MB / 1.121 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.728, allocations: 2.293 MB / 1.123 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005184/0.7332, allocations: 4.386 MB / 1.127 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.7332, allocations: 4 kB / 1.127 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01845/0.7517, allocations: 9.03 MB / 1.136 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.7517, allocations: 12 kB / 1.136 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.7517, allocations: 11.94 kB / 1.136 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/0.7673, allocations: 4.969 MB / 1.141 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.768, allocations: 191.6 kB / 1.141 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04745/0.8155, allocations: 35.16 MB / 1.175 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.8174, allocations: 99.89 kB / 1.175 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.8176, allocations: 68.14 kB / 1.175 GB, free: 1.535 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.8188, allocations: 0.8056 MB / 1.176 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.819, allocations: 142.4 kB / 1.176 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01895/0.838, allocations: 8.894 MB / 1.185 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.838, allocations: 16 kB / 1.185 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/0.8381, allocations: 32 kB / 1.185 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.8381, allocations: 7.969 kB / 1.185 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02428/0.8624, allocations: 13.27 MB / 1.198 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.8624, allocations: 4 kB / 1.198 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.8628, allocations: 123.7 kB / 1.198 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/0.8781, allocations: 4.76 MB / 1.203 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.8783, allocations: 32 kB / 1.203 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04466/0.923, allocations: 31.44 MB / 1.234 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.923, allocations: 4 kB / 1.234 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.9405, allocations: 8.396 MB / 1.242 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009441/0.9414, allocations: 0.6163 MB / 1.242 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/0.9417, allocations: 43.98 kB / 1.242 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.943, allocations: 87.89 kB / 1.242 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005501/0.9435, allocations: 165.3 kB / 1.243 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.9437, allocations: 51.98 kB / 1.243 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009118/0.9446, allocations: 0.7343 MB / 1.243 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9446, allocations: 4 kB / 1.243 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002555/0.9472, allocations: 1.004 MB / 1.244 GB, free: 10.01 MB / 0.9981 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01791/0.9651, allocations: 8.999 MB / 1.253 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4152/1.38, allocations: 5.824 MB / 1.259 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.38, allocations: 1.891 kB / 1.259 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007834/1.388, allocations: 3.801 MB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/1.39, allocations: 229 kB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05289/1.443, allocations: 32.5 MB / 1.295 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.444, allocations: 1.858 MB / 1.296 GB, free: 202 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006519/1.445, allocations: 354.8 kB / 1.297 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/1.446, allocations: 0.6033 MB / 1.297 GB, free: 201 MB / 0.9981 GB Notification: Performance of SimCode: time 4.7e-07/1.446, allocations: 0 / 1.297 GB, free: 201 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.742/4.188, allocations: 70.19 MB / 1.366 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/4.188, allocations: 259.5 kB / 1.366 GB, free: 131 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/6.691, allocations: 3.5 kB / 1.366 GB, free: 131 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches