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.00192/0.00192, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002739/0.002739, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002024/0.002024, allocations: 66.28 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3275, allocations: 169.9 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008131/0.3356, allocations: 5.683 MB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.3403, allocations: 2.755 MB / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.3406, allocations: 27.75 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.3425, allocations: 0.7079 MB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009211/0.3434, allocations: 425.7 kB / 1.293 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.3443, allocations: 399 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.3454, allocations: 0.9516 MB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005316/0.346, allocations: 390 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.3465, allocations: 382.6 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005993/0.3471, allocations: 430.4 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.691e-05/0.3472, allocations: 52 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006378/0.3478, allocations: 371.2 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3481, allocations: 255.2 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.3484, allocations: 346.2 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.3495, allocations: 0.9774 MB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3495, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3495, allocations: 3.938 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3495, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 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.001566/0.3511, allocations: 0.917 MB / 1.298 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3511, allocations: 12.03 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.3513, allocations: 102.7 kB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.3526, allocations: 196.3 kB / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.3534, allocations: 463.5 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.3535, allocations: 37.36 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.3536, allocations: 56.55 kB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.3548, allocations: 0.8316 MB / 1.3 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.3548, allocations: 3.953 kB / 1.3 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.3548, allocations: 27.98 kB / 1.3 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.355, allocations: 64.89 kB / 1.3 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/0.3559, allocations: 0.5775 MB / 1.3 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.3606, allocations: 4.489 MB / 1.305 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.361, allocations: 271.3 kB / 1.305 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.3613, allocations: 217.3 kB / 1.305 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3614, allocations: 4.219 kB / 1.305 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3614, allocations: 38.83 kB / 1.305 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.3614, allocations: 0 / 1.305 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005529/0.3669, allocations: 2.335 MB / 1.307 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.367, allocations: 55.41 kB / 1.308 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.3675, allocations: 462 kB / 1.308 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.3676, allocations: 33.7 kB / 1.308 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.3678, allocations: 352.5 kB / 1.308 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3679, allocations: 150.7 kB / 1.308 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.3681, allocations: 106.2 kB / 1.309 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3683, allocations: 362.8 kB / 1.309 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.3686, allocations: 237.2 kB / 1.309 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.3691, allocations: 411.3 kB / 1.31 GB, free: 188 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/0.3701, allocations: 0.674 MB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3701, allocations: 0 / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001684/0.3717, allocations: 0.9132 MB / 1.311 GB, free: 14.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3718, allocations: 8.656 kB / 1.311 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3718, allocations: 8 kB / 1.311 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/0.3725, allocations: 226.3 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.373, allocations: 115.8 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/0.3784, allocations: 5.034 MB / 1.316 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.3788, allocations: 35.97 kB / 1.316 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.3789, allocations: 24 kB / 1.316 GB, free: 8.703 MB / 1.014 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.0003167/0.3792, allocations: 225.6 kB / 1.317 GB, free: 8.473 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/0.3793, allocations: 67.5 kB / 1.317 GB, free: 8.406 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.3808, allocations: 0.7657 MB / 1.317 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3808, allocations: 4 kB / 1.317 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3808, allocations: 4 kB / 1.317 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3808, allocations: 4 kB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.3833, allocations: 1.462 MB / 1.319 GB, free: 6.066 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.3833, allocations: 4 kB / 1.319 GB, free: 6.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.3837, allocations: 67.88 kB / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006774/0.3844, allocations: 202.6 kB / 1.319 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.3844, allocations: 12 kB / 1.319 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/0.3896, allocations: 4.971 MB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3896, allocations: 0 / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.3914, allocations: 1.132 MB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.3917, allocations: 91.56 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.3918, allocations: 11.95 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.3921, allocations: 27.97 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.3922, allocations: 36 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.3922, allocations: 16 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003574/0.3926, allocations: 310.9 kB / 1.326 GB, free: 14.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3926, allocations: 3.938 kB / 1.326 GB, free: 14.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000659/0.3932, allocations: 168 kB / 1.326 GB, free: 14.64 MB / 1.029 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.002158/0.3954, allocations: 1.697 MB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.3971, allocations: 0.9657 MB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3971, allocations: 0 / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.3981, allocations: 0.6681 MB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.3989, allocations: 194.2 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.4071, allocations: 5.603 MB / 1.335 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.4077, allocations: 0.9531 MB / 1.336 GB, free: 4.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.408, allocations: 113 kB / 1.336 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.4083, allocations: 211.4 kB / 1.336 GB, free: 3.805 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.4083, allocations: 0 / 1.336 GB, free: 3.805 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05455/0.4629, allocations: 14.66 MB / 1.35 GB, free: 5.422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.96, allocations: 10.09 kB / 1.35 GB, free: 5.414 MB / 1.045 GB " [Timeout remaining time 286] (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/jenkins1/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: 19.50559617811814]