Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000893/0.000893, allocations: 169.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8804/0.8804, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.697/1.697, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_12_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_12_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 1.954e-06/1.954e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.978e-05, allocations: 6.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01601/0.01603, allocations: 21.83 MB / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.008445/0.02448, allocations: 6.398 MB / 1.009 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.0263, allocations: 123.1 kB / 1.009 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.02882, allocations: 1.51 MB / 1.01 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004126/0.03295, allocations: 1.994 MB / 1.012 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.0359, allocations: 1.483 MB / 1.014 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005178/0.04107, allocations: 7.016 MB / 1.02 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003348/0.04442, allocations: 3.746 MB / 1.024 GB, free: 6.234 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.04793, allocations: 4.015 MB / 1.028 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.05195, allocations: 3.402 MB / 1.031 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.0532, allocations: 0.5273 MB / 1.032 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.05485, allocations: 1.127 MB / 1.033 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.05636, allocations: 2.662 MB / 1.036 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.05754, allocations: 1.758 MB / 1.037 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004665/0.0622, allocations: 8.691 MB / 1.046 GB, free: 0 / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.06221, allocations: 0 / 1.046 GB, free: 0 / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.06221, allocations: 0 / 1.046 GB, free: 0 / 0.9948 GB Notification: Performance of Transformations before backend: time 3.881e-05/0.06225, allocations: 0 / 1.046 GB, free: 0 / 0.9948 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.007008/0.06926, allocations: 4.419 MB / 1.05 GB, free: 98.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.0693, allocations: 12 kB / 1.05 GB, free: 98.55 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008356/0.07014, allocations: 0.5692 MB / 1.051 GB, free: 98.26 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.07477, allocations: 1.71 MB / 1.052 GB, free: 97.95 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.07866, allocations: 2.679 MB / 1.055 GB, free: 96.71 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.07879, allocations: 277.8 kB / 1.055 GB, free: 96.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008068/0.0796, allocations: 354.2 kB / 1.055 GB, free: 96.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009179/0.08878, allocations: 7.717 MB / 1.063 GB, free: 93.31 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.048e-05/0.08886, allocations: 17.58 kB / 1.063 GB, free: 93.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/0.08937, allocations: 160.1 kB / 1.063 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/0.0897, allocations: 490.9 kB / 1.064 GB, free: 93.12 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007131/0.09683, allocations: 5.696 MB / 1.069 GB, free: 91.22 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02298/0.1198, allocations: 20.5 MB / 1.089 GB, free: 78.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.1224, allocations: 2.033 MB / 1.091 GB, free: 78.01 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.1248, allocations: 2.103 MB / 1.093 GB, free: 77.25 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1249, allocations: 15.44 kB / 1.093 GB, free: 77.24 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1249, allocations: 50.52 kB / 1.093 GB, free: 77.19 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=146): time 4.549e-06/0.1249, allocations: 0 / 1.093 GB, free: 77.19 MB / 0.9948 GB Notification: Performance of matching and sorting (n=251): time 0.1508/0.2757, allocations: 76.72 MB / 1.168 GB, free: 30.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.2758, allocations: 81.41 kB / 1.168 GB, free: 30.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.2772, allocations: 1.697 MB / 1.17 GB, free: 28.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003447/0.2776, allocations: 65.7 kB / 1.17 GB, free: 28.42 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.2781, allocations: 1.788 MB / 1.172 GB, free: 26.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/0.2786, allocations: 0.8829 MB / 1.173 GB, free: 25.72 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000573/0.2792, allocations: 489.3 kB / 1.173 GB, free: 25.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.451e-05/0.2792, allocations: 305.1 kB / 1.173 GB, free: 24.94 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.2814, allocations: 2.73 MB / 1.176 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.2838, allocations: 3.336 MB / 1.179 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004834/0.2886, allocations: 6.397 MB / 1.186 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.2886, allocations: 4 kB / 1.186 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01802/0.3067, allocations: 14.4 MB / 1.2 GB, free: 13.53 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.3067, allocations: 16.98 kB / 1.2 GB, free: 13.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.3067, allocations: 20 kB / 1.2 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/0.3237, allocations: 9.195 MB / 1.209 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.3245, allocations: 307.4 kB / 1.209 GB, free: 3.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05257/0.3771, allocations: 51.03 MB / 1.259 GB, free: 240 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.379, allocations: 219.7 kB / 1.259 GB, free: 20 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.3793, allocations: 103 kB / 1.259 GB, free: 15.92 MB / 1.073 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.002181/0.3814, allocations: 1.586 MB / 1.261 GB, free: 14.32 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.3819, allocations: 250.6 kB / 1.261 GB, free: 14.08 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/0.4023, allocations: 14.48 MB / 1.275 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.4023, allocations: 31.92 kB / 1.275 GB, free: 15.51 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001107/0.4024, allocations: 48 kB / 1.275 GB, free: 15.46 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-05/0.4025, allocations: 11.95 kB / 1.275 GB, free: 15.45 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02835/0.4308, allocations: 19.52 MB / 1.294 GB, free: 11.74 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.4308, allocations: 8.844 kB / 1.294 GB, free: 11.73 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.4313, allocations: 159.8 kB / 1.294 GB, free: 11.58 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.017/0.4483, allocations: 8.985 MB / 1.303 GB, free: 2.57 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003508/0.4486, allocations: 44 kB / 1.303 GB, free: 2.527 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05446/0.5031, allocations: 50.6 MB / 1.353 GB, free: 15.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.5031, allocations: 11.94 kB / 1.353 GB, free: 15.19 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/0.5243, allocations: 14.07 MB / 1.366 GB, free: 0.9766 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/0.5261, allocations: 0.7793 MB / 1.367 GB, free: 200 kB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004631/0.5265, allocations: 55.95 kB / 1.367 GB, free: 144 kB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.528, allocations: 211.7 kB / 1.367 GB, free: 15.93 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/0.529, allocations: 253.3 kB / 1.368 GB, free: 15.69 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.5292, allocations: 64 kB / 1.368 GB, free: 15.62 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001329/0.5305, allocations: 1.129 MB / 1.369 GB, free: 14.47 MB / 1.182 GB Notification: Performance of sort global known variables: time 2e-07/0.5305, allocations: 0 / 1.369 GB, free: 14.47 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004529/0.5351, allocations: 1.617 MB / 1.37 GB, free: 12.86 MB / 1.182 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.02088/0.5559, allocations: 14.69 MB / 1.385 GB, free: 14.02 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.0143/0.5703, allocations: 10.18 MB / 1.395 GB, free: 3.762 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.5703, allocations: 0 / 1.395 GB, free: 3.762 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01031/0.5806, allocations: 6.994 MB / 1.401 GB, free: 12.71 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.5828, allocations: 0.558 MB / 1.402 GB, free: 12.16 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06912/0.6519, allocations: 50.58 MB / 1.451 GB, free: 8.492 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003401/0.6553, allocations: 2.677 MB / 1.454 GB, free: 5.773 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.000792/0.6561, allocations: 391.3 kB / 1.454 GB, free: 5.387 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.6574, allocations: 1.465 MB / 1.456 GB, free: 3.922 MB / 1.26 GB Notification: Performance of SimCode: time 1.512e-06/0.6574, allocations: 0 / 1.456 GB, free: 3.922 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5017/1.159, allocations: 129.4 MB / 1.582 GB, free: 437.5 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.189/10.35, allocations: 7.781 kB / 1.582 GB, free: 437.5 MB / 1.354 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.098904253914952]