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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008576/0.0008576, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005361/0.005361, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437.8 MB / 0.7121 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 8 kB / 0.873 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5108, allocations: 153.8 MB / 1.023 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005382/0.5162, allocations: 5.076 MB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003683/0.5199, allocations: 2.6 MB / 1.031 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.5203, allocations: 23.81 kB / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.5206, allocations: 99.14 kB / 1.031 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008859/0.5215, allocations: 382.2 kB / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/0.5223, allocations: 363.3 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.5235, allocations: 1.251 MB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.5246, allocations: 0.787 MB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.5249, allocations: 306.6 kB / 1.034 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.5254, allocations: 386.4 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.5255, allocations: 24 kB / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/0.5261, allocations: 435.1 kB / 1.035 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.5263, allocations: 223.2 kB / 1.035 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.5267, allocations: 344 kB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000873/0.5275, allocations: 0.9598 MB / 1.036 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5276, allocations: 0 / 1.036 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5276, allocations: 4 kB / 1.036 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5276, allocations: 0 / 1.036 GB, free: 2.766 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.001292/0.5289, allocations: 0.8414 MB / 1.037 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5289, allocations: 16.03 kB / 1.037 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.5291, allocations: 98.69 kB / 1.037 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.5303, allocations: 187.9 kB / 1.037 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.531, allocations: 498.4 kB / 1.038 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.531, allocations: 33.38 kB / 1.038 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.5312, allocations: 56.45 kB / 1.038 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.5322, allocations: 0.8355 MB / 1.039 GB, free: 36 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.5323, allocations: 7.938 kB / 1.039 GB, free: 28 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.5323, allocations: 20 kB / 1.039 GB, free: 8 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/0.5325, allocations: 68.94 kB / 1.039 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007912/0.5333, allocations: 0.5697 MB / 1.039 GB, free: 15.37 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003819/0.5372, allocations: 4.585 MB / 1.044 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.5376, allocations: 303.2 kB / 1.044 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.5379, allocations: 225.3 kB / 1.044 GB, free: 9.906 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.5379, allocations: 4.281 kB / 1.044 GB, free: 9.902 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.5379, allocations: 30.84 kB / 1.044 GB, free: 9.863 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.538, allocations: 4 kB / 1.044 GB, free: 9.859 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005115/0.5431, allocations: 2.638 MB / 1.047 GB, free: 7.094 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.5431, allocations: 55.41 kB / 1.047 GB, free: 7.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.5436, allocations: 457.9 kB / 1.047 GB, free: 6.57 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.5436, allocations: 33.7 kB / 1.047 GB, free: 6.531 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.5438, allocations: 335.7 kB / 1.048 GB, free: 6.195 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.5439, allocations: 149.9 kB / 1.048 GB, free: 6.047 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.544, allocations: 53.7 kB / 1.048 GB, free: 5.988 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5441, allocations: 358.8 kB / 1.048 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.5445, allocations: 241 kB / 1.048 GB, free: 5.395 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.5449, allocations: 416 kB / 1.049 GB, free: 4.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.5457, allocations: 0.67 MB / 1.049 GB, free: 4.172 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5457, allocations: 4 kB / 1.049 GB, free: 4.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001542/0.5473, allocations: 0.9209 MB / 1.05 GB, free: 3.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5473, allocations: 9.875 kB / 1.05 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.5473, allocations: 7.984 kB / 1.05 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.548, allocations: 226.9 kB / 1.051 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.5485, allocations: 119.7 kB / 1.051 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.5527, allocations: 4.943 MB / 1.056 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.5531, allocations: 31.97 kB / 1.056 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.5532, allocations: 20 kB / 1.056 GB, free: 13.48 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.0002353/0.5534, allocations: 222.1 kB / 1.056 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.5535, allocations: 55.34 kB / 1.056 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.5549, allocations: 0.7736 MB / 1.057 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5549, allocations: 4 kB / 1.057 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5549, allocations: 8.188 kB / 1.057 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5549, allocations: 7.984 kB / 1.057 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.557, allocations: 1.501 MB / 1.058 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5571, allocations: 7.938 kB / 1.058 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.5574, allocations: 67.88 kB / 1.058 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006053/0.558, allocations: 206.6 kB / 1.058 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.558, allocations: 8 kB / 1.058 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.562, allocations: 4.876 MB / 1.063 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.562, allocations: 7.969 kB / 1.063 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.5636, allocations: 1.123 MB / 1.064 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.5638, allocations: 172.4 kB / 1.064 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.5638, allocations: 8 kB / 1.064 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.5641, allocations: 23.97 kB / 1.064 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.5642, allocations: 39.89 kB / 1.064 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.5642, allocations: 8 kB / 1.064 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002876/0.5645, allocations: 318.9 kB / 1.065 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5645, allocations: 0 / 1.065 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005472/0.5651, allocations: 168 kB / 1.065 GB, free: 3.309 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.001807/0.5669, allocations: 1.696 MB / 1.067 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.5683, allocations: 1.008 MB / 1.068 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5683, allocations: 0 / 1.068 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.5691, allocations: 0.6761 MB / 1.068 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.57, allocations: 173.2 kB / 1.068 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/0.577, allocations: 5.965 MB / 1.074 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.5776, allocations: 0.9455 MB / 1.075 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.578, allocations: 113 kB / 1.075 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.5782, allocations: 207.4 kB / 1.075 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.5782, allocations: 0 / 1.075 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.364/1.942, allocations: 13.26 MB / 1.088 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/1.942, allocations: 238.3 kB / 1.089 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/3.881, allocations: 0 / 1.089 GB, free: 10.85 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