Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 63.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6537/0.6559, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007273/0.6632, allocations: 5.468 MB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.6675, allocations: 2.611 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.6681, allocations: 19.88 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.6701, allocations: 0.7001 MB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.6712, allocations: 405.8 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.6722, allocations: 391.1 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.6733, allocations: 0.9474 MB / 1.028 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007287/0.6741, allocations: 472.7 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.6747, allocations: 370.6 kB / 1.029 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.6753, allocations: 406.4 kB / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.6755, allocations: 48 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006808/0.6761, allocations: 355.3 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.6764, allocations: 247.3 kB / 1.03 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.6768, allocations: 354.2 kB / 1.03 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.6779, allocations: 0.9578 MB / 1.031 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.678, allocations: 0 / 1.031 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.678, allocations: 4 kB / 1.031 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.513e-05/0.678, allocations: 0 / 1.031 GB, free: 4.762 MB / 0.7794 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.001713/0.6797, allocations: 0.966 MB / 1.032 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6798, allocations: 12.03 kB / 1.032 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.6799, allocations: 102.6 kB / 1.032 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.6813, allocations: 195.9 kB / 1.032 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.682, allocations: 482.5 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.6821, allocations: 37.36 kB / 1.033 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.6822, allocations: 52.56 kB / 1.033 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.6833, allocations: 0.8393 MB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.6834, allocations: 11.84 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.6834, allocations: 23.98 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.6836, allocations: 68.94 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.6845, allocations: 0.5697 MB / 1.034 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.6887, allocations: 4.573 MB / 1.039 GB, free: 12.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.6892, allocations: 306.9 kB / 1.039 GB, free: 12.02 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.6895, allocations: 225.3 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.6895, allocations: 4.281 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.6896, allocations: 38.84 kB / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.6896, allocations: 0 / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005403/0.695, allocations: 2.622 MB / 1.042 GB, free: 8.992 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.695, allocations: 59.41 kB / 1.042 GB, free: 8.922 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.6955, allocations: 457.9 kB / 1.042 GB, free: 8.465 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.6955, allocations: 33.7 kB / 1.042 GB, free: 8.426 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.6958, allocations: 343.6 kB / 1.042 GB, free: 8.082 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.6959, allocations: 141.9 kB / 1.043 GB, free: 7.941 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.6961, allocations: 110.1 kB / 1.043 GB, free: 7.828 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6962, allocations: 358.8 kB / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.6965, allocations: 241 kB / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.697, allocations: 410.4 kB / 1.044 GB, free: 6.754 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008348/0.6978, allocations: 0.6779 MB / 1.044 GB, free: 6.004 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6978, allocations: 0 / 1.044 GB, free: 6.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0016/0.6994, allocations: 0.9247 MB / 1.045 GB, free: 5.062 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6995, allocations: 8 kB / 1.045 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6995, allocations: 4 kB / 1.045 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007528/0.7002, allocations: 231 kB / 1.045 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.7007, allocations: 115.8 kB / 1.046 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/0.706, allocations: 5.343 MB / 1.051 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.7064, allocations: 36.03 kB / 1.051 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.7065, allocations: 24 kB / 1.051 GB, free: 14.87 MB / 0.8106 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.0002684/0.7068, allocations: 226.2 kB / 1.051 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.7069, allocations: 59.28 kB / 1.051 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.7083, allocations: 0.7735 MB / 1.052 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7083, allocations: 4 kB / 1.052 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7083, allocations: 4 kB / 1.052 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7083, allocations: 0 / 1.052 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.7107, allocations: 1.495 MB / 1.053 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7107, allocations: 0 / 1.053 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.711, allocations: 71.88 kB / 1.053 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/0.7117, allocations: 198.6 kB / 1.054 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.7118, allocations: 16 kB / 1.054 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004822/0.7166, allocations: 5.286 MB / 1.059 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7166, allocations: 0 / 1.059 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.7183, allocations: 1.127 MB / 1.06 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.7185, allocations: 184.3 kB / 1.06 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.7186, allocations: 11.94 kB / 1.06 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.7189, allocations: 23.97 kB / 1.06 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.719, allocations: 40.02 kB / 1.06 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.719, allocations: 11.94 kB / 1.06 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002997/0.7193, allocations: 310.9 kB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.7194, allocations: 0 / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005767/0.7199, allocations: 168 kB / 1.061 GB, free: 4.289 MB / 0.8106 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.001948/0.7219, allocations: 1.704 MB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.7235, allocations: 1.055 MB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7235, allocations: 0 / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000907/0.7244, allocations: 0.6799 MB / 1.064 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.7252, allocations: 179.5 kB / 1.064 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/0.7324, allocations: 5.68 MB / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.7329, allocations: 0.9416 MB / 1.071 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00035/0.7333, allocations: 125 kB / 1.071 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.7335, allocations: 207.4 kB / 1.071 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.7335, allocations: 0 / 1.071 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.7725, allocations: 13.93 MB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.55, allocations: 4.938 kB / 1.085 GB, free: 11.59 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches