Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00152/0.00152, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002207/0.002207, allocations: 215.5 kB / 23.02 MB, free: 4.949 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.182/3.182, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001913/0.001913, allocations: 71.19 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3353, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05002/0.3854, allocations: 39.08 MB / 1.383 GB, free: 8.762 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02963/0.415, allocations: 15.3 MB / 1.398 GB, free: 9.422 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00608/0.4211, allocations: 246.1 kB / 1.399 GB, free: 9.18 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01311/0.4342, allocations: 4.484 MB / 1.403 GB, free: 4.688 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009081/0.4433, allocations: 2.931 MB / 1.406 GB, free: 1.742 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009192/0.4525, allocations: 3.183 MB / 1.409 GB, free: 14.56 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01607/0.4685, allocations: 11.41 MB / 1.42 GB, free: 3.113 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01451/0.483, allocations: 6.78 MB / 1.427 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008901/0.4919, allocations: 4.989 MB / 1.432 GB, free: 7.203 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.5021, allocations: 5.764 MB / 1.437 GB, free: 1.422 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003377/0.5055, allocations: 0.9492 MB / 1.438 GB, free: 484 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006262/0.5118, allocations: 1.912 MB / 1.44 GB, free: 14.56 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.007676/0.5194, allocations: 3.792 MB / 1.444 GB, free: 10.76 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.5295, allocations: 3.514 MB / 1.447 GB, free: 7.23 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02025/0.5498, allocations: 14.39 MB / 1.461 GB, free: 8.797 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5498, allocations: 0 / 1.461 GB, free: 8.797 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5498, allocations: 0 / 1.461 GB, free: 8.797 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004088/0.5502, allocations: 0 / 1.461 GB, free: 8.797 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02258/0.5728, allocations: 7.715 MB / 1.469 GB, free: 1.008 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5728, allocations: 12.02 kB / 1.469 GB, free: 0.9961 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002177/0.573, allocations: 164.3 kB / 1.469 GB, free: 0.832 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003084/0.5761, allocations: 0.8877 MB / 1.47 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.5874, allocations: 1.557 MB / 1.471 GB, free: 14.37 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.5984, allocations: 4.39 MB / 1.476 GB, free: 9.898 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005694/0.599, allocations: 452.5 kB / 1.476 GB, free: 9.453 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/0.6016, allocations: 0.5978 MB / 1.477 GB, free: 8.855 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02787/0.6294, allocations: 11.59 MB / 1.488 GB, free: 12.67 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003643/0.6298, allocations: 35.75 kB / 1.488 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002418/0.6322, allocations: 259.9 kB / 1.488 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/0.6352, allocations: 0.7768 MB / 1.489 GB, free: 11.6 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.6564, allocations: 8.557 MB / 1.497 GB, free: 3.02 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06865/0.7251, allocations: 31.45 MB / 1.528 GB, free: 2.898 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006654/0.7317, allocations: 3.971 MB / 1.532 GB, free: 14.92 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005997/0.7377, allocations: 3.369 MB / 1.535 GB, free: 11.55 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/0.738, allocations: 34.78 kB / 1.535 GB, free: 11.51 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/0.7381, allocations: 77.2 kB / 1.535 GB, free: 11.43 MB / 1.232 GB Notification: Performance of pre-optimization done (n=353): time 8.446e-06/0.7381, allocations: 3.984 kB / 1.535 GB, free: 11.42 MB / 1.232 GB Notification: Performance of matching and sorting (n=578): time 1.165/1.903, allocations: 121.1 MB / 1.654 GB, free: 230.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.903, allocations: 112.2 kB / 1.654 GB, free: 230.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/1.906, allocations: 2.682 MB / 1.656 GB, free: 229.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009166/1.907, allocations: 119.2 kB / 1.656 GB, free: 229.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.908, allocations: 2.754 MB / 1.659 GB, free: 227.2 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.00201/1.91, allocations: 2.05 MB / 1.661 GB, free: 225.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/1.912, allocations: 0.9313 MB / 1.662 GB, free: 224.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.625e-05/1.912, allocations: 301.1 kB / 1.662 GB, free: 224.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004591/1.917, allocations: 4.083 MB / 1.666 GB, free: 220.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005052/1.922, allocations: 5.011 MB / 1.671 GB, free: 215.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.932, allocations: 9.855 MB / 1.681 GB, free: 204.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/1.932, allocations: 7.938 kB / 1.681 GB, free: 204.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03065/1.963, allocations: 16.74 MB / 1.697 GB, free: 188.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.963, allocations: 12 kB / 1.697 GB, free: 188.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/1.963, allocations: 27.98 kB / 1.697 GB, free: 188 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02752/1.99, allocations: 9.065 MB / 1.706 GB, free: 178.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/1.992, allocations: 0.5304 MB / 1.707 GB, free: 178.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08467/2.077, allocations: 74.65 MB / 1.779 GB, free: 102.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/2.082, allocations: 279.8 kB / 1.78 GB, free: 102.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008655/2.083, allocations: 191.9 kB / 1.78 GB, free: 102.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00389/2.087, allocations: 2.431 MB / 1.782 GB, free: 99.61 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/2.088, allocations: 493 kB / 1.783 GB, free: 99.12 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03354/2.122, allocations: 16.54 MB / 1.799 GB, free: 82.44 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/2.122, allocations: 52 kB / 1.799 GB, free: 82.39 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000196/2.122, allocations: 72 kB / 1.799 GB, free: 82.32 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.76e-05/2.122, allocations: 27.89 kB / 1.799 GB, free: 82.29 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04791/2.17, allocations: 24.02 MB / 1.823 GB, free: 58.05 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.365e-05/2.17, allocations: 11.44 kB / 1.823 GB, free: 58.04 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/2.172, allocations: 319.6 kB / 1.823 GB, free: 57.73 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0266/2.198, allocations: 8.249 MB / 1.831 GB, free: 49.43 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001228/2.199, allocations: 111.9 kB / 1.831 GB, free: 49.32 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09127/2.291, allocations: 71.54 MB / 1.901 GB, free: 8.547 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/2.291, allocations: 11.94 kB / 1.901 GB, free: 8.535 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04746/2.338, allocations: 21.31 MB / 1.922 GB, free: 2.867 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004709/2.343, allocations: 1.309 MB / 1.923 GB, free: 1.555 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/2.344, allocations: 108 kB / 1.923 GB, free: 1.449 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004154/2.349, allocations: 289.4 kB / 1.923 GB, free: 1.168 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002513/2.351, allocations: 0.5644 MB / 1.924 GB, free: 0.6016 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008122/2.352, allocations: 148 kB / 1.924 GB, free: 468 kB / 1.342 GB Notification: Performance of sorting global known variables: time 0.00312/2.355, allocations: 1.781 MB / 1.926 GB, free: 14.69 MB / 1.357 GB Notification: Performance of sort global known variables: time 2.6e-07/2.355, allocations: 0 / 1.926 GB, free: 14.69 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.009259/2.364, allocations: 2.461 MB / 1.928 GB, free: 12.23 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04924/2.414, allocations: 22.01 MB / 1.95 GB, free: 5.844 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.02796/2.442, allocations: 13.73 MB / 1.963 GB, free: 7.914 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/2.442, allocations: 4.062 kB / 1.963 GB, free: 7.91 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.01938/2.461, allocations: 9.026 MB / 1.972 GB, free: 14.73 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007382/2.468, allocations: 1.376 MB / 1.973 GB, free: 13.41 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1513/2.62, allocations: 69.99 MB / 2.042 GB, free: 5.742 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009284/2.629, allocations: 4.391 MB / 2.046 GB, free: 1.297 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.003043/2.632, allocations: 0.7448 MB / 2.047 GB, free: 0.5469 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004189/2.636, allocations: 2.62 MB / 2.049 GB, free: 13.94 MB / 1.482 GB Notification: Performance of SimCode: time 1.724e-06/2.636, allocations: 0 / 2.049 GB, free: 13.94 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.079/3.715, allocations: 210.6 MB / 2.255 GB, free: 0.5487 GB / 1.654 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.12/26.84, allocations: 10.34 kB / 2.255 GB, free: 0.5487 GB / 1.654 GB " [Timeout remaining time 273] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 35.465692269965075]