Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006101/0.006101, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9056/0.9069, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007048/0.914, allocations: 5.464 MB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.9187, allocations: 2.627 MB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.9192, allocations: 20.59 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.9212, allocations: 0.6718 MB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.9225, allocations: 409.6 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.9238, allocations: 398.3 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.9252, allocations: 0.9478 MB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007697/0.9259, allocations: 470.6 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.9266, allocations: 374.9 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.9272, allocations: 405.6 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.9273, allocations: 47.84 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008328/0.9281, allocations: 363.1 kB / 1.099 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.9285, allocations: 247.6 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.9289, allocations: 350.8 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.9303, allocations: 0.9653 MB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.9303, allocations: 4.656 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9303, allocations: 0 / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.9303, allocations: 0.75 kB / 1.101 GB, free: 13.2 MB / 0.8731 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.001722/0.9321, allocations: 0.9762 MB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.9321, allocations: 9.812 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.9323, allocations: 105.2 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.9337, allocations: 197.3 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.9347, allocations: 0.5123 MB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.9348, allocations: 37.2 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.935, allocations: 56.83 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.9364, allocations: 0.8352 MB / 1.103 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.9365, allocations: 6.781 kB / 1.104 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.9365, allocations: 26.92 kB / 1.104 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002072/0.9367, allocations: 64.7 kB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.9378, allocations: 0.568 MB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.9429, allocations: 4.574 MB / 1.109 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.9434, allocations: 294.3 kB / 1.109 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.9438, allocations: 226.9 kB / 1.109 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.9438, allocations: 3.281 kB / 1.109 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.9439, allocations: 37.22 kB / 1.109 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/0.9439, allocations: 5.219 kB / 1.109 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005983/0.9499, allocations: 2.622 MB / 1.112 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.95, allocations: 55.34 kB / 1.112 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.9505, allocations: 464.5 kB / 1.112 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.9506, allocations: 32.86 kB / 1.112 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.9508, allocations: 341.3 kB / 1.113 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.951, allocations: 137.5 kB / 1.113 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.9512, allocations: 110.3 kB / 1.113 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9513, allocations: 359.3 kB / 1.113 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.9517, allocations: 238.2 kB / 1.113 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.9523, allocations: 408.6 kB / 1.114 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.9532, allocations: 0.6738 MB / 1.114 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.9532, allocations: 1.344 kB / 1.114 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001721/0.9549, allocations: 0.9202 MB / 1.115 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.955, allocations: 7.281 kB / 1.115 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.955, allocations: 5.875 kB / 1.115 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008192/0.9558, allocations: 224 kB / 1.116 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.9563, allocations: 116.3 kB / 1.116 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.9617, allocations: 5.334 MB / 1.121 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.9623, allocations: 33.5 kB / 1.121 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.9623, allocations: 24.2 kB / 1.121 GB, free: 14.66 MB / 0.8887 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.0004122/0.9628, allocations: 225.1 kB / 1.121 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.9629, allocations: 60.19 kB / 1.121 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.9645, allocations: 0.7815 MB / 1.122 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9645, allocations: 11.73 kB / 1.122 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9645, allocations: 3.109 kB / 1.122 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.9645, allocations: 2.156 kB / 1.122 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.9672, allocations: 1.502 MB / 1.123 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9672, allocations: 2.109 kB / 1.123 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.9676, allocations: 67.19 kB / 1.124 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006658/0.9683, allocations: 204 kB / 1.124 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.9683, allocations: 11.75 kB / 1.124 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005107/0.9735, allocations: 5.269 MB / 1.129 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.9735, allocations: 2.656 kB / 1.129 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.9755, allocations: 1.135 MB / 1.13 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.9759, allocations: 181.5 kB / 1.13 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.976, allocations: 8.781 kB / 1.13 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.9763, allocations: 23.91 kB / 1.13 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.9764, allocations: 39.14 kB / 1.13 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.9764, allocations: 10.53 kB / 1.13 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003631/0.9768, allocations: 317.7 kB / 1.131 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9768, allocations: 0 / 1.131 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007964/0.9776, allocations: 166.2 kB / 1.131 GB, free: 7.684 MB / 0.8887 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.00212/0.9797, allocations: 1.687 MB / 1.132 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.9815, allocations: 1.013 MB / 1.133 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9815, allocations: 5.094 kB / 1.133 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009785/0.9825, allocations: 0.6808 MB / 1.134 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.9834, allocations: 176 kB / 1.134 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.992, allocations: 5.603 MB / 1.14 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006617/0.9927, allocations: 0.9466 MB / 1.141 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004594/0.9932, allocations: 120.4 kB / 1.141 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.9935, allocations: 217.2 kB / 1.141 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of SimCode: time 7.92e-07/0.9935, allocations: 1.094 kB / 1.141 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/1.039, allocations: 14.36 MB / 1.155 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.79, allocations: 1.406 kB / 1.155 GB, free: 13.25 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches