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.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.001389/0.001389, allocations: 109 kB / 17.54 MB, free: 4.746 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.001431/0.001431, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.272/1.272, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.437/2.437, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.001843/0.001843, allocations: 75.88 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6905, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005515/0.6961, allocations: 5.669 MB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.6993, allocations: 2.707 MB / 1.28 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.6995, allocations: 20.59 kB / 1.28 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.701, allocations: 0.711 MB / 1.28 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007137/0.7017, allocations: 429.3 kB / 1.281 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.7025, allocations: 401.2 kB / 1.281 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000926/0.7034, allocations: 0.9491 MB / 1.282 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.7038, allocations: 339.8 kB / 1.282 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.7042, allocations: 380.8 kB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.7047, allocations: 422.2 kB / 1.283 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.7047, allocations: 52.31 kB / 1.283 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.7053, allocations: 373.7 kB / 1.283 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.7055, allocations: 250.1 kB / 1.284 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.7058, allocations: 352.2 kB / 1.284 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.7069, allocations: 0.9792 MB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7069, allocations: 0 / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7069, allocations: 0 / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.7069, allocations: 0 / 1.285 GB, free: 15.53 MB / 1.014 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.001456/0.7084, allocations: 0.9927 MB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7084, allocations: 8.219 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.7085, allocations: 102.9 kB / 1.286 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.7098, allocations: 192.7 kB / 1.286 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.7105, allocations: 0.516 MB / 1.287 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.7105, allocations: 42.67 kB / 1.287 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.7107, allocations: 51.84 kB / 1.287 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.7117, allocations: 0.8344 MB / 1.288 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.7118, allocations: 7.719 kB / 1.288 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.7118, allocations: 26.67 kB / 1.288 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.712, allocations: 68.64 kB / 1.288 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.7128, allocations: 0.5729 MB / 1.288 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.7169, allocations: 4.565 MB / 1.293 GB, free: 9.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.7173, allocations: 279.6 kB / 1.293 GB, free: 9.566 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.7176, allocations: 221 kB / 1.293 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.7176, allocations: 7.609 kB / 1.293 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.7177, allocations: 38.2 kB / 1.293 GB, free: 9.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.7177, allocations: 0 / 1.293 GB, free: 9.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.005078/0.7227, allocations: 2.641 MB / 1.296 GB, free: 8.027 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.7228, allocations: 55.38 kB / 1.296 GB, free: 7.965 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.7232, allocations: 458.9 kB / 1.296 GB, free: 7.738 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.7232, allocations: 36.92 kB / 1.296 GB, free: 7.699 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.7235, allocations: 346.8 kB / 1.297 GB, free: 7.422 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.7236, allocations: 148.6 kB / 1.297 GB, free: 7.305 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.7237, allocations: 101.7 kB / 1.297 GB, free: 7.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7239, allocations: 363.6 kB / 1.297 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.7242, allocations: 234.1 kB / 1.298 GB, free: 6.836 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.7248, allocations: 414.9 kB / 1.298 GB, free: 6.535 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/0.7257, allocations: 0.6817 MB / 1.299 GB, free: 6.094 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7257, allocations: 1.688 kB / 1.299 GB, free: 6.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001593/0.7273, allocations: 0.9116 MB / 1.3 GB, free: 5.711 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7273, allocations: 8.625 kB / 1.3 GB, free: 5.711 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7273, allocations: 8.25 kB / 1.3 GB, free: 5.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/0.728, allocations: 224.7 kB / 1.3 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.7285, allocations: 119.7 kB / 1.3 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.7335, allocations: 5.342 MB / 1.305 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.7339, allocations: 29.77 kB / 1.305 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.734, allocations: 22.97 kB / 1.305 GB, free: 0.9453 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.0003035/0.7343, allocations: 223.8 kB / 1.305 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.7344, allocations: 63.81 kB / 1.305 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.7358, allocations: 0.762 MB / 1.306 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7358, allocations: 4.125 kB / 1.306 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7358, allocations: 3.172 kB / 1.306 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7358, allocations: 5.969 kB / 1.306 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.7382, allocations: 1.499 MB / 1.308 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7382, allocations: 1.859 kB / 1.308 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.7386, allocations: 67.34 kB / 1.308 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.7392, allocations: 203.9 kB / 1.308 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.7393, allocations: 13.03 kB / 1.308 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004799/0.7441, allocations: 5.276 MB / 1.313 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7441, allocations: 2.531 kB / 1.313 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.7458, allocations: 1.125 MB / 1.314 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.7461, allocations: 176 kB / 1.314 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.7461, allocations: 9.797 kB / 1.314 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.7464, allocations: 23.7 kB / 1.314 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.7465, allocations: 43 kB / 1.314 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.7466, allocations: 9.969 kB / 1.314 GB, free: 10.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003403/0.7469, allocations: 317 kB / 1.315 GB, free: 9.996 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7469, allocations: 0 / 1.315 GB, free: 9.996 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006636/0.7476, allocations: 165.6 kB / 1.315 GB, free: 9.98 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.002005/0.7496, allocations: 1.694 MB / 1.317 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.7511, allocations: 0.9715 MB / 1.317 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7511, allocations: 3.938 kB / 1.317 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009363/0.752, allocations: 0.6601 MB / 1.318 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.7529, allocations: 193.8 kB / 1.318 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/0.7605, allocations: 5.595 MB / 1.324 GB, free: 4.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.7611, allocations: 0.951 MB / 1.325 GB, free: 3.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003924/0.7615, allocations: 108.3 kB / 1.325 GB, free: 3.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.7618, allocations: 213.7 kB / 1.325 GB, free: 3.547 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.7618, allocations: 4 kB / 1.325 GB, free: 3.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/0.8129, allocations: 14.27 MB / 1.339 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.936/10.75, allocations: 11.03 kB / 1.339 GB, free: 0.6953 MB / 1.029 GB " [Timeout remaining time 289] (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 --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: 15.917574605000482]