Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001998/0.001998, allocations: 108.1 kB / 16.45 MB, free: 6.445 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.002313/0.002313, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.655/1.655, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.711/2.711, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 176] 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 63.89 kB / 1.056 GB, free: 2.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3462, allocations: 160.7 MB / 1.213 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00839/0.3546, allocations: 5.617 MB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004789/0.3594, allocations: 2.685 MB / 1.221 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.3598, allocations: 19.88 kB / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.3618, allocations: 0.6846 MB / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.3628, allocations: 425.7 kB / 1.222 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3639, allocations: 414.5 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.365, allocations: 0.9669 MB / 1.223 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005745/0.3655, allocations: 366.8 kB / 1.224 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.366, allocations: 382.5 kB / 1.224 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.3666, allocations: 434.3 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.3667, allocations: 48 kB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.3673, allocations: 375.2 kB / 1.225 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.3676, allocations: 243.2 kB / 1.225 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.368, allocations: 354.2 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.3692, allocations: 0.9766 MB / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3692, allocations: 0 / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3692, allocations: 0 / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.3692, allocations: 0 / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00172/0.3709, allocations: 0.9983 MB / 1.227 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.371, allocations: 12.03 kB / 1.227 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.3711, allocations: 106.7 kB / 1.228 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.3724, allocations: 204.2 kB / 1.228 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/0.3733, allocations: 0.5223 MB / 1.228 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.3734, allocations: 37.36 kB / 1.228 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.3735, allocations: 60.53 kB / 1.228 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.3747, allocations: 0.8238 MB / 1.229 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3747, allocations: 0 / 1.229 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.3748, allocations: 31.97 kB / 1.229 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.375, allocations: 72.89 kB / 1.229 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009015/0.3759, allocations: 0.5658 MB / 1.23 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004882/0.3808, allocations: 4.581 MB / 1.234 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.3813, allocations: 275.3 kB / 1.235 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.3816, allocations: 217.2 kB / 1.235 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.3817, allocations: 8.219 kB / 1.235 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3817, allocations: 38.84 kB / 1.235 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/0.3817, allocations: 0 / 1.235 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.005711/0.3874, allocations: 2.631 MB / 1.237 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3875, allocations: 63.41 kB / 1.237 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.388, allocations: 458 kB / 1.238 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.388, allocations: 37.7 kB / 1.238 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.3883, allocations: 348.5 kB / 1.238 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3884, allocations: 154.7 kB / 1.238 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.3886, allocations: 102.2 kB / 1.239 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3888, allocations: 366.8 kB / 1.239 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.3892, allocations: 237 kB / 1.239 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.3897, allocations: 406.4 kB / 1.239 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.3906, allocations: 0.6779 MB / 1.24 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.3906, allocations: 4 kB / 1.24 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001682/0.3923, allocations: 0.9138 MB / 1.241 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3923, allocations: 8 kB / 1.241 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3923, allocations: 8 kB / 1.241 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007913/0.3931, allocations: 226.5 kB / 1.241 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.3936, allocations: 119.7 kB / 1.241 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/0.3994, allocations: 5.34 MB / 1.247 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.3999, allocations: 35.97 kB / 1.247 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3999, allocations: 20 kB / 1.247 GB, free: 13.52 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004275/0.4004, allocations: 229.7 kB / 1.247 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4005, allocations: 59.61 kB / 1.247 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.402, allocations: 0.7694 MB / 1.248 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.402, allocations: 8 kB / 1.248 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4021, allocations: 0 / 1.248 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4021, allocations: 0 / 1.248 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.4047, allocations: 1.499 MB / 1.249 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4047, allocations: 0 / 1.249 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.405, allocations: 68.11 kB / 1.249 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.4057, allocations: 198.4 kB / 1.249 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.4057, allocations: 19.98 kB / 1.249 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005289/0.411, allocations: 5.282 MB / 1.255 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.411, allocations: 4.031 kB / 1.255 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.4129, allocations: 1.116 MB / 1.256 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.4132, allocations: 180.7 kB / 1.256 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.4133, allocations: 8.062 kB / 1.256 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.4136, allocations: 27.97 kB / 1.256 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.4137, allocations: 35.95 kB / 1.256 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.4138, allocations: 12 kB / 1.256 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003828/0.4141, allocations: 314.9 kB / 1.256 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4141, allocations: 0 / 1.256 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008887/0.415, allocations: 175.9 kB / 1.256 GB, free: 2.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002143/0.4172, allocations: 1.7 MB / 1.258 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.4188, allocations: 0.9613 MB / 1.259 GB, free: 172 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4188, allocations: 0 / 1.259 GB, free: 172 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.675/1.094, allocations: 0.66 MB / 1.26 GB, free: 48.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.095, allocations: 177.6 kB / 1.26 GB, free: 48.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/1.102, allocations: 5.637 MB / 1.265 GB, free: 46.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/1.102, allocations: 0.947 MB / 1.266 GB, free: 45.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000418/1.103, allocations: 110.1 kB / 1.266 GB, free: 45.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/1.103, allocations: 213.5 kB / 1.267 GB, free: 45.52 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/1.103, allocations: 2.938 kB / 1.267 GB, free: 45.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06274/1.166, allocations: 14.32 MB / 1.281 GB, free: 44.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.44, allocations: 7.656 kB / 1.281 GB, free: 44.45 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 18.92645379016176]