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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 107.5 kB / 16.45 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.002015/0.002015, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.625/2.625, allocations: 443.5 MB / 0.7287 GB, free: 13.31 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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.91 kB / 1.056 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8162, allocations: 160.7 MB / 1.213 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01402/0.8302, allocations: 10.24 MB / 1.223 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.8368, allocations: 3.202 MB / 1.226 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009493/0.8377, allocations: 40.5 kB / 1.226 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.8396, allocations: 0.61 MB / 1.227 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.8417, allocations: 0.78 MB / 1.227 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.8437, allocations: 0.7425 MB / 1.228 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004191/0.8479, allocations: 2.994 MB / 1.231 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.8507, allocations: 1.965 MB / 1.233 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.853, allocations: 1.262 MB / 1.234 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.8559, allocations: 1.702 MB / 1.236 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005628/0.8564, allocations: 232 kB / 1.236 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.8577, allocations: 0.5111 MB / 1.237 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.859, allocations: 1.099 MB / 1.238 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.8605, allocations: 1.116 MB / 1.239 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004425/0.865, allocations: 3.697 MB / 1.242 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.865, allocations: 4 kB / 1.242 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.073e-06/0.865, allocations: 0 / 1.242 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.215e-05/0.865, allocations: 0 / 1.242 GB, free: 9.984 MB / 0.9512 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.004691/0.8697, allocations: 2.187 MB / 1.245 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.8698, allocations: 16.88 kB / 1.245 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004131/0.8702, allocations: 261.2 kB / 1.245 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008792/0.879, allocations: 1.318 MB / 1.246 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.8827, allocations: 1.31 MB / 1.247 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.8828, allocations: 115.4 kB / 1.247 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006043/0.8834, allocations: 144.3 kB / 1.248 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006884/0.8903, allocations: 3.444 MB / 1.251 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.8904, allocations: 3.938 kB / 1.251 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.8906, allocations: 63.97 kB / 1.251 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/0.8909, allocations: 203.1 kB / 1.251 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00589/0.8968, allocations: 3.131 MB / 1.254 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0229/0.9197, allocations: 13.56 MB / 1.268 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.9226, allocations: 1.614 MB / 1.269 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.9248, allocations: 1.335 MB / 1.27 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.395e-05/0.9249, allocations: 13 kB / 1.27 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.9249, allocations: 47.5 kB / 1.27 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.9249, allocations: 0 / 1.27 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.144/1.069, allocations: 36.56 MB / 1.306 GB, free: 7.422 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/1.069, allocations: 69.41 kB / 1.306 GB, free: 7.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.071, allocations: 1.058 MB / 1.307 GB, free: 6.258 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/1.071, allocations: 57.64 kB / 1.307 GB, free: 6.195 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008/1.072, allocations: 0.8093 MB / 1.308 GB, free: 5.375 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007745/1.073, allocations: 0.6545 MB / 1.309 GB, free: 4.715 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008248/1.073, allocations: 363.5 kB / 1.309 GB, free: 4.355 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.074, allocations: 305.1 kB / 1.309 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/1.077, allocations: 1.928 MB / 1.311 GB, free: 2.125 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003558/1.081, allocations: 2.289 MB / 1.314 GB, free: 15.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00639/1.087, allocations: 4.392 MB / 1.318 GB, free: 11.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.087, allocations: 4 kB / 1.318 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02054/1.107, allocations: 8.875 MB / 1.326 GB, free: 2.281 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/1.108, allocations: 10.81 kB / 1.326 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.108, allocations: 8.656 kB / 1.326 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/1.124, allocations: 4.984 MB / 1.331 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/1.125, allocations: 191.7 kB / 1.332 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06366/1.189, allocations: 38.92 MB / 1.37 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.191, allocations: 107.9 kB / 1.37 GB, free: 5.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/1.191, allocations: 64 kB / 1.37 GB, free: 5.418 MB / 1.076 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.001443/1.192, allocations: 0.8095 MB / 1.37 GB, free: 4.598 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/1.193, allocations: 147.1 kB / 1.371 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02026/1.213, allocations: 8.737 MB / 1.379 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.213, allocations: 16 kB / 1.379 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-05/1.213, allocations: 32 kB / 1.379 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/1.213, allocations: 11.97 kB / 1.379 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/1.242, allocations: 13.26 MB / 1.392 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/1.242, allocations: 3.984 kB / 1.392 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/1.242, allocations: 123.8 kB / 1.392 GB, free: 14.08 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01661/1.259, allocations: 4.838 MB / 1.397 GB, free: 9.227 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003593/1.259, allocations: 40 kB / 1.397 GB, free: 9.188 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05943/1.319, allocations: 36.85 MB / 1.433 GB, free: 3.754 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.319, allocations: 7.938 kB / 1.433 GB, free: 3.746 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01977/1.339, allocations: 8.453 MB / 1.441 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.341, allocations: 0.6483 MB / 1.442 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004896/1.341, allocations: 35.94 kB / 1.442 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.342, allocations: 91.89 kB / 1.442 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008246/1.343, allocations: 165.4 kB / 1.442 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.343, allocations: 48 kB / 1.442 GB, free: 10.2 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001127/1.345, allocations: 0.7421 MB / 1.443 GB, free: 9.449 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/1.345, allocations: 0 / 1.443 GB, free: 9.449 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003413/1.348, allocations: 1.004 MB / 1.444 GB, free: 8.445 MB / 1.154 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02056/1.369, allocations: 9.035 MB / 1.453 GB, free: 15.31 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.379, allocations: 5.738 MB / 1.458 GB, free: 9.523 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.379, allocations: 4 kB / 1.458 GB, free: 9.52 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008393/1.388, allocations: 3.776 MB / 1.462 GB, free: 5.695 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.389, allocations: 239.3 kB / 1.462 GB, free: 5.465 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06388/1.453, allocations: 30.78 MB / 1.492 GB, free: 6.148 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/1.456, allocations: 1.859 MB / 1.494 GB, free: 4.25 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000998/1.457, allocations: 355.4 kB / 1.495 GB, free: 3.898 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008436/1.458, allocations: 0.6086 MB / 1.495 GB, free: 3.289 MB / 1.201 GB Notification: Performance of SimCode: time 1.142e-06/1.458, allocations: 0 / 1.495 GB, free: 3.289 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/1.618, allocations: 76.72 MB / 1.57 GB, free: 6.875 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.68, allocations: 7.688 kB / 1.57 GB, free: 6.867 MB / 1.279 GB " [Timeout remaining time 285] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 20.714953285176307]