Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0007429/0.0007429, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.00073/0.00073, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.7988/0.7988, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643/1.643, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.373e-05, allocations: 5.656 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007865/0.007879, allocations: 10.18 MB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.007149/0.01503, allocations: 8.386 MB / 1.018 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.0155, allocations: 87.19 kB / 1.018 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.01727, allocations: 1.677 MB / 1.02 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.01921, allocations: 1.613 MB / 1.021 GB, free: 7.469 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.02001, allocations: 0.6844 MB / 1.022 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.02152, allocations: 2.352 MB / 1.024 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009938/0.02251, allocations: 1.141 MB / 1.025 GB, free: 3.242 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.02371, allocations: 1.532 MB / 1.027 GB, free: 1.707 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.0244, allocations: 0.8373 MB / 1.027 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.02452, allocations: 136 kB / 1.028 GB, free: 0.7344 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.02521, allocations: 0.7443 MB / 1.028 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.02553, allocations: 0.5996 MB / 1.029 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.02592, allocations: 0.5922 MB / 1.03 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.02747, allocations: 2.593 MB / 1.032 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.02748, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.02748, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.0275, allocations: 4 kB / 1.032 GB, free: 12.19 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001831/0.02933, allocations: 1.962 MB / 1.034 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.02936, allocations: 12.75 kB / 1.034 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.02951, allocations: 186.1 kB / 1.034 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005133/0.03464, allocations: 2.07 MB / 1.036 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.0359, allocations: 1.121 MB / 1.037 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/0.03594, allocations: 78.7 kB / 1.037 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.03608, allocations: 116.4 kB / 1.037 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.03901, allocations: 2.701 MB / 1.04 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.03904, allocations: 23.83 kB / 1.04 GB, free: 3.621 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/0.03913, allocations: 47.98 kB / 1.04 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.03931, allocations: 130.1 kB / 1.04 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.04302, allocations: 2.545 MB / 1.043 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006856/0.04987, allocations: 7.659 MB / 1.05 GB, free: 9.059 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.05288, allocations: 1.858 MB / 1.052 GB, free: 7.191 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.05425, allocations: 0.9505 MB / 1.053 GB, free: 6.238 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.05428, allocations: 8.5 kB / 1.053 GB, free: 6.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.0543, allocations: 39.06 kB / 1.053 GB, free: 6.184 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 2.415e-06/0.05431, allocations: 0 / 1.053 GB, free: 6.184 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.3834/0.4377, allocations: 9.125 MB / 1.062 GB, free: 96.35 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.4377, allocations: 60.47 kB / 1.062 GB, free: 96.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.4385, allocations: 1.112 MB / 1.063 GB, free: 95.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.4385, allocations: 40.61 kB / 1.063 GB, free: 95.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.4387, allocations: 0.7487 MB / 1.064 GB, free: 95.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4389, allocations: 289.8 kB / 1.064 GB, free: 95.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.4391, allocations: 201 kB / 1.064 GB, free: 95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.4391, allocations: 344.3 kB / 1.065 GB, free: 94.68 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4405, allocations: 1.082 MB / 1.066 GB, free: 94.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.4418, allocations: 1.317 MB / 1.067 GB, free: 93.84 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.4446, allocations: 2.404 MB / 1.069 GB, free: 92.93 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4446, allocations: 2.812 kB / 1.069 GB, free: 92.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004079/0.4486, allocations: 3.287 MB / 1.073 GB, free: 91.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4487, allocations: 8.75 kB / 1.073 GB, free: 91.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4487, allocations: 14.25 kB / 1.073 GB, free: 91.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.4501, allocations: 0.8478 MB / 1.073 GB, free: 91.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.4509, allocations: 415.7 kB / 1.074 GB, free: 91.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00691/0.4578, allocations: 15.2 MB / 1.089 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/0.4588, allocations: 292.1 kB / 1.089 GB, free: 79.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.4589, allocations: 48.55 kB / 1.089 GB, free: 79.32 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0004495/0.4593, allocations: 402.5 kB / 1.089 GB, free: 79.07 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4595, allocations: 154.2 kB / 1.09 GB, free: 78.99 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.4635, allocations: 3.206 MB / 1.093 GB, free: 77.99 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4635, allocations: 8.031 kB / 1.093 GB, free: 77.99 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4635, allocations: 8.125 kB / 1.093 GB, free: 77.99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4635, allocations: 2.953 kB / 1.093 GB, free: 77.99 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.4693, allocations: 4.676 MB / 1.097 GB, free: 76.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4693, allocations: 5.891 kB / 1.097 GB, free: 76.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.4701, allocations: 356.6 kB / 1.098 GB, free: 76.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.4713, allocations: 0.7615 MB / 1.098 GB, free: 76.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.4714, allocations: 37.14 kB / 1.098 GB, free: 76.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007447/0.4789, allocations: 14.8 MB / 1.113 GB, free: 63.91 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4789, allocations: 11.31 kB / 1.113 GB, free: 63.91 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.4831, allocations: 3.054 MB / 1.116 GB, free: 62.83 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.4835, allocations: 314.1 kB / 1.116 GB, free: 62.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4836, allocations: 15.22 kB / 1.116 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/0.4846, allocations: 298.9 kB / 1.116 GB, free: 62.65 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.4848, allocations: 86.92 kB / 1.116 GB, free: 62.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.4848, allocations: 46.08 kB / 1.117 GB, free: 62.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006846/0.4855, allocations: 0.7405 MB / 1.117 GB, free: 62.32 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4855, allocations: 0 / 1.117 GB, free: 62.32 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001279/0.4868, allocations: 444.3 kB / 1.118 GB, free: 62.28 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004783/0.4916, allocations: 3.627 MB / 1.121 GB, free: 60.67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004565/0.4961, allocations: 3.551 MB / 1.125 GB, free: 59.09 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4961, allocations: 1.531 kB / 1.125 GB, free: 59.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.4986, allocations: 2.333 MB / 1.127 GB, free: 57.81 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.4998, allocations: 0.5256 MB / 1.127 GB, free: 57.65 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/0.5193, allocations: 16.25 MB / 1.143 GB, free: 51.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.5201, allocations: 0.8083 MB / 1.144 GB, free: 50.88 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008644/0.5209, allocations: 374.3 kB / 1.144 GB, free: 50.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.5215, allocations: 0.5987 MB / 1.145 GB, free: 50.28 MB / 1.01 GB Notification: Performance of SimCode: time 7.01e-07/0.5215, allocations: 0 / 1.145 GB, free: 50.28 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05946/0.5809, allocations: 46.13 MB / 1.19 GB, free: 21.95 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/8.187, allocations: 14.16 kB / 1.19 GB, free: 21.93 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 11.928658983670175]