Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001671/0.001671, 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.002216/0.002216, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.62/2.62, allocations: 437 MB / 0.7104 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 67.89 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6742, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008799/0.683, allocations: 6.806 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004858/0.6879, allocations: 3.067 MB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.6885, allocations: 27.81 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.691, allocations: 0.9492 MB / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.6923, allocations: 0.4972 MB / 1.029 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.6934, allocations: 450.6 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.6948, allocations: 1.24 MB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6959, allocations: 0.6567 MB / 1.031 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006966/0.6966, allocations: 482.3 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.6974, allocations: 0.5137 MB / 1.032 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.6975, allocations: 64 kB / 1.032 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000715/0.6983, allocations: 383.2 kB / 1.032 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.6986, allocations: 303.2 kB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.699, allocations: 461.7 kB / 1.033 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.7001, allocations: 1.207 MB / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7001, allocations: 0 / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7001, allocations: 0 / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.7001, allocations: 0 / 1.034 GB, free: 1.391 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001778/0.7019, allocations: 1.161 MB / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.702, allocations: 12.03 kB / 1.035 GB, free: 172 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.7021, allocations: 118.7 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.7036, allocations: 243.5 kB / 1.036 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.7045, allocations: 0.5531 MB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.7045, allocations: 49.67 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.7047, allocations: 64.31 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.7062, allocations: 1.089 MB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.7062, allocations: 7.844 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.7063, allocations: 32 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/0.7066, allocations: 89.25 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.7078, allocations: 0.7465 MB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004865/0.7126, allocations: 5.905 MB / 1.044 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/0.7136, allocations: 0.5457 MB / 1.044 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.714, allocations: 326 kB / 1.045 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.714, allocations: 8.422 kB / 1.045 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.7141, allocations: 46.94 kB / 1.045 GB, free: 5.754 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.865e-06/0.7141, allocations: 0 / 1.045 GB, free: 5.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003899/0.718, allocations: 1.978 MB / 1.047 GB, free: 3.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.7181, allocations: 59.84 kB / 1.047 GB, free: 3.609 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.7186, allocations: 0.5664 MB / 1.047 GB, free: 3.035 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.7187, allocations: 41.7 kB / 1.047 GB, free: 2.988 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.719, allocations: 414.9 kB / 1.048 GB, free: 2.574 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.7191, allocations: 173.6 kB / 1.048 GB, free: 2.402 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.7193, allocations: 122.5 kB / 1.048 GB, free: 2.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.7194, allocations: 382.7 kB / 1.048 GB, free: 1.895 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.7198, allocations: 273.8 kB / 1.049 GB, free: 1.625 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.7204, allocations: 497 kB / 1.049 GB, free: 1.047 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.7214, allocations: 0.8093 MB / 1.05 GB, free: 148 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7214, allocations: 0 / 1.05 GB, free: 148 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001699/0.7231, allocations: 1.079 MB / 1.051 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.7231, allocations: 12.03 kB / 1.051 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7231, allocations: 8 kB / 1.051 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/0.724, allocations: 283.1 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.7244, allocations: 127.8 kB / 1.051 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006408/0.7308, allocations: 7.141 MB / 1.058 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.7314, allocations: 35.97 kB / 1.058 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.7315, allocations: 28 kB / 1.058 GB, free: 6.844 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003331/0.7318, allocations: 257.5 kB / 1.059 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.732, allocations: 79.16 kB / 1.059 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.7335, allocations: 0.8925 MB / 1.06 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7335, allocations: 4 kB / 1.06 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.7335, allocations: 4 kB / 1.06 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.7335, allocations: 15.91 kB / 1.06 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.7361, allocations: 1.713 MB / 1.061 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7361, allocations: 3.938 kB / 1.061 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.7363, allocations: 63.89 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/0.7371, allocations: 267.3 kB / 1.062 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.7371, allocations: 8 kB / 1.062 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/0.7431, allocations: 7.128 MB / 1.069 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7431, allocations: 3.938 kB / 1.069 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.7447, allocations: 0.9874 MB / 1.07 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.745, allocations: 196.3 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.7451, allocations: 19.91 kB / 1.07 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.7455, allocations: 27.97 kB / 1.07 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.7456, allocations: 47.88 kB / 1.07 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.7457, allocations: 16 kB / 1.07 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004311/0.7461, allocations: 387.1 kB / 1.07 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7461, allocations: 4 kB / 1.07 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000767/0.7469, allocations: 220 kB / 1.07 GB, free: 9.777 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/0.7486, allocations: 1.54 MB / 1.072 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.7506, allocations: 1.33 MB / 1.073 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7506, allocations: 0 / 1.073 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.7518, allocations: 0.8971 MB / 1.074 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.7529, allocations: 219.5 kB / 1.074 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009221/0.7621, allocations: 6.556 MB / 1.081 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007512/0.7629, allocations: 1.013 MB / 1.082 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004987/0.7635, allocations: 121.9 kB / 1.082 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.7638, allocations: 255.3 kB / 1.082 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of SimCode: time 1.432e-06/0.7638, allocations: 4 kB / 1.082 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05206/0.8159, allocations: 17.24 MB / 1.099 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.74, allocations: 14.48 kB / 1.099 GB, free: 12.38 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches