Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001095/0.001095, 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.0008372/0.0008372, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8292/0.8292, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.585/1.585, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.649e-06/1.097e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004219/0.00423, allocations: 5.214 MB / 0.9556 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.006855, allocations: 2.587 MB / 0.9581 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.007067, allocations: 35.69 kB / 0.9581 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.007972, allocations: 0.679 MB / 0.9588 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.008543, allocations: 445.2 kB / 0.9592 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.009112, allocations: 392.9 kB / 0.9596 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000928/0.01004, allocations: 0.9785 MB / 0.9606 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.01048, allocations: 378.5 kB / 0.9609 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.01095, allocations: 0.5221 MB / 0.9614 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.01128, allocations: 366.9 kB / 0.9618 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.01132, allocations: 48 kB / 0.9618 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.01167, allocations: 331.1 kB / 0.9621 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.01183, allocations: 267.2 kB / 0.9624 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.01198, allocations: 239.4 kB / 0.9626 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.01266, allocations: 0.9968 MB / 0.9636 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01266, allocations: 0 / 0.9636 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01266, allocations: 0 / 0.9636 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.01267, allocations: 4 kB / 0.9636 GB, free: 6 MB / 0.9167 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.000941/0.01361, allocations: 0.9053 MB / 0.9645 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.01364, allocations: 12.03 kB / 0.9645 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.803e-05/0.01372, allocations: 98.69 kB / 0.9646 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006888/0.01441, allocations: 212.2 kB / 0.9648 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.01491, allocations: 450.9 kB / 0.9652 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.01493, allocations: 41.36 kB / 0.9653 GB, free: 4.234 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.01503, allocations: 52.52 kB / 0.9653 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.01579, allocations: 0.9751 MB / 0.9663 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.01581, allocations: 12.12 kB / 0.9663 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.01585, allocations: 31.86 kB / 0.9663 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-05/0.01595, allocations: 64.94 kB / 0.9664 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.01653, allocations: 0.5696 MB / 0.9669 GB, free: 2.41 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.01888, allocations: 3.554 MB / 0.9704 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.01919, allocations: 283.2 kB / 0.9707 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.01938, allocations: 209.3 kB / 0.9709 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.01941, allocations: 4.281 kB / 0.9709 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.01943, allocations: 34.84 kB / 0.9709 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.01943, allocations: 0 / 0.9709 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.003327/0.02276, allocations: 2.339 MB / 0.9732 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.02279, allocations: 55.41 kB / 0.9732 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.0231, allocations: 465.9 kB / 0.9737 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.02313, allocations: 33.7 kB / 0.9737 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.02327, allocations: 348.5 kB / 0.9741 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.02334, allocations: 146.7 kB / 0.9742 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.02345, allocations: 106.3 kB / 0.9743 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.02355, allocations: 362.7 kB / 0.9746 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.02379, allocations: 237.2 kB / 0.9749 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.0241, allocations: 411.3 kB / 0.9753 GB, free: 9.543 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.02467, allocations: 0.674 MB / 0.9759 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02467, allocations: 0 / 0.9759 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001233/0.02591, allocations: 0.9215 MB / 0.9768 GB, free: 7.859 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.02592, allocations: 8 kB / 0.9768 GB, free: 7.852 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.02593, allocations: 8 kB / 0.9768 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.02636, allocations: 222.5 kB / 0.977 GB, free: 7.617 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.02664, allocations: 123.7 kB / 0.9772 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.02964, allocations: 5.006 MB / 0.9821 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.02984, allocations: 27.97 kB / 0.9821 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.02987, allocations: 24 kB / 0.9821 GB, free: 2.094 MB / 0.9323 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.0001763/0.03004, allocations: 221.6 kB / 0.9823 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.0301, allocations: 63.72 kB / 0.9824 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/0.03094, allocations: 0.7579 MB / 0.9831 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.03095, allocations: 7.938 kB / 0.9831 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-06/0.03095, allocations: 4 kB / 0.9831 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.03096, allocations: 8.125 kB / 0.9831 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.03257, allocations: 1.396 MB / 0.9845 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.03257, allocations: 7.984 kB / 0.9845 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.03275, allocations: 71.88 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000331/0.03308, allocations: 198.5 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.0331, allocations: 12 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.03572, allocations: 4.928 MB / 0.9896 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03572, allocations: 0 / 0.9896 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.03697, allocations: 1.12 MB / 0.9907 GB, free: 8.797 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.03709, allocations: 103.7 kB / 0.9908 GB, free: 8.695 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.03713, allocations: 8 kB / 0.9908 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.03729, allocations: 32.03 kB / 0.9908 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.03734, allocations: 39.88 kB / 0.9909 GB, free: 8.617 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.03736, allocations: 16 kB / 0.9909 GB, free: 8.602 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002054/0.03757, allocations: 314.9 kB / 0.9912 GB, free: 8.297 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.03757, allocations: 0 / 0.9912 GB, free: 8.297 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003854/0.03795, allocations: 168 kB / 0.9913 GB, free: 8.133 MB / 0.948 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.00122/0.03917, allocations: 1.688 MB / 0.993 GB, free: 6.387 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008895/0.04006, allocations: 0.9614 MB / 0.9939 GB, free: 5.387 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04006, allocations: 0 / 0.9939 GB, free: 5.387 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.04054, allocations: 0.6642 MB / 0.9946 GB, free: 4.684 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.04105, allocations: 183.3 kB / 0.9947 GB, free: 4.508 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.04588, allocations: 5.568 MB / 1 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.0461, allocations: 346.2 kB / 1.001 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001947/0.04629, allocations: 121 kB / 1.001 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.04647, allocations: 208.4 kB / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.04647, allocations: 0 / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.07467, allocations: 15.73 MB / 1.016 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.905, allocations: 13.09 kB / 1.016 GB, free: 14.6 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.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: 10.618763307109475]