Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.00128/0.00128, allocations: 97.92 kB / 19.73 MB, free: 1.992 MB / 14.72 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.001488/0.001488, allocations: 209.7 kB / 23.02 MB, free: 4.43 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.003/3.003, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 65.81 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3116, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01244/0.324, allocations: 9.617 MB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005573/0.3296, allocations: 3.154 MB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/0.3302, allocations: 43.69 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.3318, allocations: 0.6024 MB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.3333, allocations: 0.7778 MB / 1.34 GB, free: 3.238 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.3348, allocations: 0.7509 MB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.3379, allocations: 2.989 MB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.34, allocations: 1.431 MB / 1.346 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3422, allocations: 1.293 MB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.3448, allocations: 1.706 MB / 1.348 GB, free: 11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003996/0.3452, allocations: 236 kB / 1.349 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3464, allocations: 479.3 kB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.3476, allocations: 1.095 MB / 1.35 GB, free: 9.207 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.3488, allocations: 0.9182 MB / 1.351 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.3526, allocations: 3.715 MB / 1.355 GB, free: 4.559 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3526, allocations: 0 / 1.355 GB, free: 4.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3526, allocations: 0 / 1.355 GB, free: 4.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.287e-05/0.3527, allocations: 4 kB / 1.355 GB, free: 4.555 MB / 1.045 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.004236/0.3569, allocations: 2.115 MB / 1.357 GB, free: 2.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.357, allocations: 12.03 kB / 1.357 GB, free: 2.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.448e-05/0.357, allocations: 39.2 kB / 1.357 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003494/0.3574, allocations: 261.2 kB / 1.357 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008319/0.3657, allocations: 1.338 MB / 1.358 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.3683, allocations: 1.266 MB / 1.36 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.3684, allocations: 111.3 kB / 1.36 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/0.3688, allocations: 144.3 kB / 1.36 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005671/0.3745, allocations: 3.523 MB / 1.363 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.3745, allocations: 7.938 kB / 1.363 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.3747, allocations: 59.97 kB / 1.363 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/0.375, allocations: 207.1 kB / 1.364 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005138/0.3802, allocations: 3.124 MB / 1.367 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.3966, allocations: 10.07 MB / 1.376 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.3991, allocations: 1.611 MB / 1.378 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.401, allocations: 1.335 MB / 1.379 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/0.4011, allocations: 13 kB / 1.379 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4011, allocations: 43.56 kB / 1.379 GB, free: 10.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 2.936e-06/0.4011, allocations: 0 / 1.379 GB, free: 10.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.134/0.5352, allocations: 36.18 MB / 1.415 GB, free: 6.641 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.5352, allocations: 73.41 kB / 1.415 GB, free: 6.555 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.5372, allocations: 1.05 MB / 1.416 GB, free: 5.48 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004328/0.5376, allocations: 57.7 kB / 1.416 GB, free: 5.418 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.5384, allocations: 0.8093 MB / 1.417 GB, free: 4.598 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008901/0.5393, allocations: 0.6585 MB / 1.417 GB, free: 3.934 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.5404, allocations: 363.5 kB / 1.418 GB, free: 3.574 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5405, allocations: 301.1 kB / 1.418 GB, free: 3.277 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/0.5434, allocations: 1.928 MB / 1.42 GB, free: 1.348 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/0.5467, allocations: 2.296 MB / 1.422 GB, free: 14.93 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006282/0.553, allocations: 4.391 MB / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.553, allocations: 7.938 kB / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02023/0.5732, allocations: 8.871 MB / 1.435 GB, free: 1.508 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.5733, allocations: 8.656 kB / 1.435 GB, free: 1.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.5733, allocations: 12 kB / 1.435 GB, free: 1.488 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01718/0.5905, allocations: 4.98 MB / 1.44 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.5914, allocations: 191.7 kB / 1.44 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05838/0.6497, allocations: 37.99 MB / 1.477 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.6516, allocations: 103.8 kB / 1.477 GB, free: 5.738 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.6518, allocations: 68.62 kB / 1.477 GB, free: 5.672 MB / 1.17 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.001401/0.6532, allocations: 0.8108 MB / 1.478 GB, free: 4.852 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.6536, allocations: 147.1 kB / 1.478 GB, free: 4.707 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01943/0.673, allocations: 8.73 MB / 1.487 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/0.6731, allocations: 19.94 kB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001075/0.6732, allocations: 36 kB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/0.6732, allocations: 7.969 kB / 1.487 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/0.7004, allocations: 12.66 MB / 1.499 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/0.7004, allocations: 8.031 kB / 1.499 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/0.7009, allocations: 119.8 kB / 1.499 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/0.7171, allocations: 4.814 MB / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/0.7174, allocations: 35.94 kB / 1.504 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05399/0.7714, allocations: 35.93 MB / 1.539 GB, free: 5.695 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.7714, allocations: 15.92 kB / 1.539 GB, free: 5.68 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/0.7903, allocations: 8.444 MB / 1.547 GB, free: 13.14 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/0.7919, allocations: 0.5847 MB / 1.548 GB, free: 12.56 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/0.7922, allocations: 32 kB / 1.548 GB, free: 12.53 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7934, allocations: 91.83 kB / 1.548 GB, free: 12.44 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008293/0.7942, allocations: 177.5 kB / 1.548 GB, free: 12.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.7944, allocations: 51.98 kB / 1.548 GB, free: 12.21 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009999/0.7954, allocations: 0.7343 MB / 1.549 GB, free: 11.47 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7954, allocations: 0 / 1.549 GB, free: 11.47 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002952/0.7983, allocations: 1.004 MB / 1.55 GB, free: 10.46 MB / 1.248 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.01877/0.8171, allocations: 9.043 MB / 1.559 GB, free: 1.328 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01024/0.8274, allocations: 5.743 MB / 1.565 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.8274, allocations: 0 / 1.565 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00791/0.8353, allocations: 3.78 MB / 1.568 GB, free: 7.695 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.8368, allocations: 239.2 kB / 1.568 GB, free: 7.469 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05814/0.895, allocations: 30.84 MB / 1.599 GB, free: 8.098 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.8967, allocations: 1.275 MB / 1.6 GB, free: 6.785 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008845/0.8976, allocations: 355.4 kB / 1.6 GB, free: 6.434 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007761/0.8983, allocations: 0.6086 MB / 1.601 GB, free: 5.824 MB / 1.295 GB Notification: Performance of SimCode: time 6.61e-07/0.8983, allocations: 3.938 kB / 1.601 GB, free: 5.82 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7542/1.653, allocations: 80.45 MB / 1.679 GB, free: 224.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.75, allocations: 4.062 kB / 1.679 GB, free: 224.4 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.582799353986047]