Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 112.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] 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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8175, allocations: 160.7 MB / 1.213 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03206/0.8496, allocations: 23.78 MB / 1.236 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.8643, allocations: 6.543 MB / 1.243 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.8673, allocations: 91.56 kB / 1.243 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.8721, allocations: 1.531 MB / 1.244 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.8774, allocations: 1.933 MB / 1.246 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.882, allocations: 1.47 MB / 1.247 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009575/0.8916, allocations: 6.9 MB / 1.254 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009888/0.9015, allocations: 5.199 MB / 1.259 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00586/0.9073, allocations: 2.878 MB / 1.262 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007442/0.9148, allocations: 3.735 MB / 1.266 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002194/0.917, allocations: 0.5273 MB / 1.266 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00425/0.9212, allocations: 1.194 MB / 1.267 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004513/0.9257, allocations: 2.533 MB / 1.27 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005837/0.9316, allocations: 2.536 MB / 1.272 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.9443, allocations: 8.54 MB / 1.281 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9443, allocations: 0 / 1.281 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9443, allocations: 4 kB / 1.281 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002693/0.9446, allocations: 4 kB / 1.281 GB, free: 2.57 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01286/0.9574, allocations: 4.539 MB / 1.285 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.9575, allocations: 8.625 kB / 1.285 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001762/0.9592, allocations: 0.5753 MB / 1.286 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009305/0.9685, allocations: 1.707 MB / 1.287 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007561/0.9761, allocations: 2.705 MB / 1.29 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.9765, allocations: 275.7 kB / 1.29 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/0.9785, allocations: 364.2 kB / 1.291 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.9968, allocations: 7.487 MB / 1.298 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/0.997, allocations: 15.88 kB / 1.298 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/0.9982, allocations: 167.9 kB / 1.298 GB, free: 348 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006974/0.9989, allocations: 479.3 kB / 1.299 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/1.011, allocations: 5.701 MB / 1.304 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0496/1.061, allocations: 31.55 MB / 1.335 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/1.064, allocations: 2.02 MB / 1.337 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003813/1.068, allocations: 2.1 MB / 1.339 GB, free: 3.707 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/1.069, allocations: 17.31 kB / 1.339 GB, free: 3.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/1.069, allocations: 55.8 kB / 1.339 GB, free: 3.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.737e-06/1.069, allocations: 0 / 1.339 GB, free: 3.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=251): time 0.3026/1.371, allocations: 76.8 MB / 1.414 GB, free: 6.684 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.371, allocations: 77.41 kB / 1.414 GB, free: 6.594 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/1.375, allocations: 1.67 MB / 1.416 GB, free: 4.879 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0006119/1.376, allocations: 69.69 kB / 1.416 GB, free: 4.805 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/1.377, allocations: 1.792 MB / 1.418 GB, free: 2.996 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.379, allocations: 0.8946 MB / 1.418 GB, free: 2.094 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/1.38, allocations: 485.4 kB / 1.419 GB, free: 1.613 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.38, allocations: 309.1 kB / 1.419 GB, free: 1.309 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004745/1.385, allocations: 2.726 MB / 1.422 GB, free: 14.58 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005508/1.391, allocations: 3.332 MB / 1.425 GB, free: 11 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.401, allocations: 6.397 MB / 1.431 GB, free: 4.359 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-05/1.401, allocations: 4 kB / 1.431 GB, free: 4.355 MB / 1.139 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03688/1.438, allocations: 14.4 MB / 1.445 GB, free: 5.906 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.438, allocations: 14.34 kB / 1.445 GB, free: 5.895 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/1.438, allocations: 28.84 kB / 1.445 GB, free: 5.867 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03117/1.47, allocations: 9.244 MB / 1.454 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.471, allocations: 299.4 kB / 1.455 GB, free: 12.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09479/1.566, allocations: 52.4 MB / 1.506 GB, free: 7.02 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/1.569, allocations: 223.7 kB / 1.506 GB, free: 6.801 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006514/1.57, allocations: 96 kB / 1.506 GB, free: 6.707 MB / 1.217 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003885/1.573, allocations: 1.586 MB / 1.508 GB, free: 5.109 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00085/1.574, allocations: 258.5 kB / 1.508 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03608/1.61, allocations: 14.47 MB / 1.522 GB, free: 6.324 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/1.61, allocations: 24 kB / 1.522 GB, free: 6.301 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002039/1.611, allocations: 48 kB / 1.522 GB, free: 6.254 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/1.611, allocations: 11.95 kB / 1.522 GB, free: 6.242 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05166/1.662, allocations: 20.24 MB / 1.542 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/1.662, allocations: 8 kB / 1.542 GB, free: 1.797 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/1.663, allocations: 159.8 kB / 1.542 GB, free: 1.641 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03036/1.694, allocations: 9.01 MB / 1.551 GB, free: 8.605 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005556/1.694, allocations: 48 kB / 1.551 GB, free: 8.559 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09191/1.786, allocations: 51.97 MB / 1.602 GB, free: 3.711 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/1.786, allocations: 7.938 kB / 1.602 GB, free: 3.703 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7365/2.523, allocations: 14.09 MB / 1.616 GB, free: 362.1 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003177/2.526, allocations: 0.8539 MB / 1.616 GB, free: 362 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/2.527, allocations: 49.47 kB / 1.616 GB, free: 362 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/2.529, allocations: 206.2 kB / 1.617 GB, free: 362 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/2.531, allocations: 249.3 kB / 1.617 GB, free: 362 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/2.531, allocations: 63.22 kB / 1.617 GB, free: 362 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001946/2.533, allocations: 1.125 MB / 1.618 GB, free: 361.8 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/2.533, allocations: 0 / 1.618 GB, free: 361.8 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006545/2.539, allocations: 1.616 MB / 1.62 GB, free: 361.8 MB / 1.311 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0294/2.569, allocations: 14.71 MB / 1.634 GB, free: 358.5 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02065/2.59, allocations: 10.21 MB / 1.644 GB, free: 354.3 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.271e-05/2.59, allocations: 3.812 kB / 1.644 GB, free: 354.3 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0151/2.605, allocations: 7.011 MB / 1.651 GB, free: 349.5 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/2.608, allocations: 0.5512 MB / 1.651 GB, free: 349 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08347/2.691, allocations: 50.4 MB / 1.701 GB, free: 297.8 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004393/2.696, allocations: 3.224 MB / 1.704 GB, free: 294.5 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001014/2.697, allocations: 391.3 kB / 1.704 GB, free: 294.1 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/2.698, allocations: 1.468 MB / 1.705 GB, free: 292.7 MB / 1.311 GB Notification: Performance of SimCode: time 1.303e-06/2.698, allocations: 3.938 kB / 1.705 GB, free: 292.7 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/2.869, allocations: 121.8 MB / 1.824 GB, free: 171.4 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/18, allocations: 4.969 kB / 1.824 GB, free: 171.4 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.35276464931667]