Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001375/0.001375, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00164/0.00164, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.785 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.188/3.188, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",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.00211/0.00211, allocations: 69.34 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008937/0.3737, allocations: 6.48 MB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005446/0.3792, allocations: 3.048 MB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005716/0.3798, allocations: 35.69 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.3824, allocations: 0.9565 MB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.3839, allocations: 0.5168 MB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.385, allocations: 423.1 kB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.3865, allocations: 1.232 MB / 1.337 GB, free: 5.648 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008522/0.3873, allocations: 0.5256 MB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.3881, allocations: 0.4943 MB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007752/0.3889, allocations: 0.5058 MB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.389, allocations: 71.94 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007176/0.3897, allocations: 343.3 kB / 1.339 GB, free: 3.703 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.39, allocations: 311.1 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.3905, allocations: 374.3 kB / 1.34 GB, free: 3.031 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.3921, allocations: 1.237 MB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3921, allocations: 0 / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3921, allocations: 0 / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.3921, allocations: 0 / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002125/0.3942, allocations: 1.104 MB / 1.342 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3943, allocations: 12.03 kB / 1.342 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.3944, allocations: 122.7 kB / 1.342 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.3959, allocations: 240.1 kB / 1.343 GB, free: 280 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.397, allocations: 0.5269 MB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.397, allocations: 41.69 kB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.3972, allocations: 68.36 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.3989, allocations: 1.34 MB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3989, allocations: 3.938 kB / 1.345 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.399, allocations: 32 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.3992, allocations: 85.25 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4004, allocations: 0.7504 MB / 1.345 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005358/0.4057, allocations: 4.639 MB / 1.35 GB, free: 8.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.4067, allocations: 0.5105 MB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.4072, allocations: 289.3 kB / 1.351 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.4072, allocations: 4.438 kB / 1.351 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.4073, allocations: 39 kB / 1.351 GB, free: 7.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.776e-06/0.4073, allocations: 3.938 kB / 1.351 GB, free: 7.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003956/0.4113, allocations: 1.686 MB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.4113, allocations: 63.84 kB / 1.352 GB, free: 5.789 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.412, allocations: 0.5625 MB / 1.353 GB, free: 5.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.412, allocations: 37.7 kB / 1.353 GB, free: 5.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.4124, allocations: 424 kB / 1.353 GB, free: 4.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.4125, allocations: 178.5 kB / 1.354 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.4127, allocations: 126.6 kB / 1.354 GB, free: 4.445 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4129, allocations: 378.7 kB / 1.354 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.4133, allocations: 269.8 kB / 1.354 GB, free: 3.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.4139, allocations: 497.4 kB / 1.355 GB, free: 3.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.415, allocations: 0.8161 MB / 1.356 GB, free: 2.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.415, allocations: 3.984 kB / 1.356 GB, free: 2.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001922/0.417, allocations: 1.074 MB / 1.357 GB, free: 1.211 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.417, allocations: 11.94 kB / 1.357 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.417, allocations: 8.094 kB / 1.357 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008632/0.4179, allocations: 279.2 kB / 1.357 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.4183, allocations: 123.8 kB / 1.357 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007121/0.4255, allocations: 6.682 MB / 1.364 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/0.4261, allocations: 39.95 kB / 1.364 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.4262, allocations: 28 kB / 1.364 GB, free: 9.57 MB / 1.061 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0004055/0.4266, allocations: 253.5 kB / 1.364 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.4267, allocations: 75.64 kB / 1.364 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.4284, allocations: 0.8847 MB / 1.365 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.4284, allocations: 4 kB / 1.365 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.4284, allocations: 11.94 kB / 1.365 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4284, allocations: 8.016 kB / 1.365 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.4312, allocations: 1.603 MB / 1.366 GB, free: 6.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4313, allocations: 7.938 kB / 1.366 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.4315, allocations: 55.89 kB / 1.367 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007786/0.4323, allocations: 263.6 kB / 1.367 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.4323, allocations: 12 kB / 1.367 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006866/0.4392, allocations: 6.673 MB / 1.373 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4392, allocations: 0 / 1.373 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.4409, allocations: 0.9805 MB / 1.374 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.4412, allocations: 123.5 kB / 1.374 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.4413, allocations: 15.88 kB / 1.374 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.4417, allocations: 31.95 kB / 1.374 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4418, allocations: 43.92 kB / 1.374 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.4418, allocations: 16.19 kB / 1.374 GB, free: 13.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004742/0.4423, allocations: 383.1 kB / 1.375 GB, free: 13.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4423, allocations: 4 kB / 1.375 GB, free: 13.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008186/0.4431, allocations: 224 kB / 1.375 GB, free: 13.3 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/0.4451, allocations: 1.544 MB / 1.377 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002089/0.4472, allocations: 1.224 MB / 1.378 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4472, allocations: 0 / 1.378 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.4485, allocations: 0.8658 MB / 1.379 GB, free: 9.516 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4495, allocations: 222.5 kB / 1.379 GB, free: 9.305 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008974/0.4585, allocations: 6.357 MB / 1.385 GB, free: 2.609 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.459, allocations: 423.5 kB / 1.385 GB, free: 2.172 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004071/0.4594, allocations: 122 kB / 1.386 GB, free: 2.051 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.4597, allocations: 247.4 kB / 1.386 GB, free: 1.809 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/0.4597, allocations: 0 / 1.386 GB, free: 1.809 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06535/0.5251, allocations: 19.26 MB / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.78, allocations: 3.938 kB / 1.405 GB, free: 14.96 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 19.481058444827795]