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.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001218/0.001218, allocations: 188 kB / 16.25 MB, free: 6.59 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.323/2.323, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5108, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006237/0.5171, allocations: 5.492 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.5206, allocations: 2.607 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.5209, allocations: 23.88 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.5224, allocations: 0.6344 MB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007075/0.5232, allocations: 378.2 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.5239, allocations: 358.8 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009052/0.5249, allocations: 0.9551 MB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007007/0.5256, allocations: 0.5124 MB / 1.028 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.526, allocations: 374.5 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.5264, allocations: 414.4 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.5265, allocations: 48 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.527, allocations: 363.3 kB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.5273, allocations: 243.3 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.5275, allocations: 350.2 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.5284, allocations: 0.9889 MB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5284, allocations: 4 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5285, allocations: 4 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.5285, allocations: 0 / 1.03 GB, free: 4.93 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.00146/0.5299, allocations: 0.9737 MB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.53, allocations: 8.031 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.5301, allocations: 98.7 kB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.5314, allocations: 195.9 kB / 1.032 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.532, allocations: 490.4 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.532, allocations: 37.38 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.5321, allocations: 52.55 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5332, allocations: 0.8355 MB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.5332, allocations: 11.84 kB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.5333, allocations: 20 kB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/0.5335, allocations: 64.95 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.5343, allocations: 0.5775 MB / 1.034 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.5383, allocations: 4.577 MB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.5387, allocations: 299.2 kB / 1.038 GB, free: 12.18 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.539, allocations: 225.3 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.539, allocations: 288 / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.5391, allocations: 38.84 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.5391, allocations: 0 / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005272/0.5443, allocations: 2.63 MB / 1.041 GB, free: 9.148 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.5444, allocations: 59.41 kB / 1.041 GB, free: 9.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.5449, allocations: 453.9 kB / 1.042 GB, free: 8.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.5449, allocations: 37.7 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.5451, allocations: 347.6 kB / 1.042 GB, free: 8.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5453, allocations: 149.9 kB / 1.042 GB, free: 8.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.5454, allocations: 102.1 kB / 1.042 GB, free: 7.98 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5456, allocations: 366.8 kB / 1.043 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.546, allocations: 229 kB / 1.043 GB, free: 7.391 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.5464, allocations: 412.4 kB / 1.043 GB, free: 6.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007995/0.5472, allocations: 0.6818 MB / 1.044 GB, free: 6.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5472, allocations: 4 kB / 1.044 GB, free: 6.156 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001576/0.5488, allocations: 0.9169 MB / 1.045 GB, free: 5.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5488, allocations: 8 kB / 1.045 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5489, allocations: 8 kB / 1.045 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000806/0.5497, allocations: 230.9 kB / 1.045 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.5502, allocations: 115.9 kB / 1.045 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.5552, allocations: 5.347 MB / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.5558, allocations: 31.97 kB / 1.05 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.5558, allocations: 20 kB / 1.05 GB, free: 15.03 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.0002862/0.5561, allocations: 226.1 kB / 1.051 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.5562, allocations: 59.28 kB / 1.051 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.5583, allocations: 0.7697 MB / 1.051 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5583, allocations: 4 kB / 1.051 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5583, allocations: 4 kB / 1.051 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.5583, allocations: 0 / 1.051 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.5608, allocations: 1.499 MB / 1.053 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5608, allocations: 4 kB / 1.053 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.5612, allocations: 71.88 kB / 1.053 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006778/0.5619, allocations: 206.6 kB / 1.053 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.5619, allocations: 8 kB / 1.053 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.5665, allocations: 5.271 MB / 1.058 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5665, allocations: 0 / 1.058 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.5682, allocations: 1.135 MB / 1.059 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.5684, allocations: 172.3 kB / 1.06 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.5684, allocations: 11.98 kB / 1.06 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.5688, allocations: 27.97 kB / 1.06 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.5688, allocations: 39.95 kB / 1.06 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.5689, allocations: 16.14 kB / 1.06 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003053/0.5692, allocations: 306.9 kB / 1.06 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5692, allocations: 0 / 1.06 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006236/0.5698, allocations: 168 kB / 1.06 GB, free: 4.461 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.001935/0.5718, allocations: 1.7 MB / 1.062 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.5734, allocations: 1.055 MB / 1.063 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5734, allocations: 3.938 kB / 1.063 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.5744, allocations: 0.6877 MB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.5753, allocations: 180.2 kB / 1.064 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/0.5834, allocations: 5.911 MB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.5839, allocations: 0.9377 MB / 1.07 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003916/0.5844, allocations: 121 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.5846, allocations: 207.4 kB / 1.071 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.5846, allocations: 0 / 1.071 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.6177, allocations: 13.9 MB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.6179, allocations: 230.8 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.458, allocations: 0 / 1.084 GB, free: 11.34 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