Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_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.001004/0.001004, allocations: 91.14 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.007866/0.007866, allocations: 172 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.424/2.424, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 9.031 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2268, allocations: 159.6 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006089/0.233, allocations: 6.317 MB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00369/0.2367, allocations: 3.005 MB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.2369, allocations: 27.81 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.2372, allocations: 138.8 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008896/0.2381, allocations: 469.7 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.239, allocations: 391.3 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.2402, allocations: 1.587 MB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.2416, allocations: 1.018 MB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.242, allocations: 386.3 kB / 1.072 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.2425, allocations: 0.4902 MB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.2425, allocations: 32 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.2431, allocations: 443.1 kB / 1.073 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2433, allocations: 279.1 kB / 1.073 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.2437, allocations: 427.5 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.2446, allocations: 1.183 MB / 1.075 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2446, allocations: 4 kB / 1.075 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2446, allocations: 0 / 1.075 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.2446, allocations: 0 / 1.075 GB, free: 4.598 MB / 0.8262 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.00135/0.2459, allocations: 0.9973 MB / 1.076 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.246, allocations: 11.97 kB / 1.076 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.2461, allocations: 122.7 kB / 1.076 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.2475, allocations: 243.5 kB / 1.076 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.2481, allocations: 0.5452 MB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.2482, allocations: 45.69 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.2483, allocations: 64.36 kB / 1.077 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.2495, allocations: 1.081 MB / 1.078 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2496, allocations: 7.922 kB / 1.078 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.2496, allocations: 39.97 kB / 1.078 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.2498, allocations: 85.27 kB / 1.078 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2508, allocations: 0.7504 MB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.255, allocations: 5.897 MB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008584/0.2559, allocations: 0.56 MB / 1.085 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.2563, allocations: 326 kB / 1.085 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.2564, allocations: 4.438 kB / 1.085 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2564, allocations: 35 kB / 1.085 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.2564, allocations: 8 kB / 1.085 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003335/0.2597, allocations: 1.998 MB / 1.087 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2598, allocations: 55.84 kB / 1.087 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.2603, allocations: 0.5547 MB / 1.088 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2603, allocations: 37.7 kB / 1.088 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.2605, allocations: 418.9 kB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.2607, allocations: 177.5 kB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.2607, allocations: 57.69 kB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2609, allocations: 378.7 kB / 1.089 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.2612, allocations: 277.8 kB / 1.089 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.2617, allocations: 489 kB / 1.089 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.2626, allocations: 0.8093 MB / 1.09 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2626, allocations: 4 kB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001594/0.2642, allocations: 1.083 MB / 1.091 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2642, allocations: 8 kB / 1.091 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2642, allocations: 4 kB / 1.091 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007357/0.265, allocations: 283.6 kB / 1.092 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.2654, allocations: 123.8 kB / 1.092 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/0.2706, allocations: 6.606 MB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.2711, allocations: 48.02 kB / 1.098 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.2711, allocations: 27.94 kB / 1.098 GB, free: 10.84 MB / 0.8575 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.0002522/0.2714, allocations: 253.5 kB / 1.098 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.2715, allocations: 67.25 kB / 1.098 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2729, allocations: 0.8962 MB / 1.099 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2729, allocations: 4 kB / 1.099 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2729, allocations: 4 kB / 1.099 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2729, allocations: 3.984 kB / 1.099 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.2751, allocations: 1.72 MB / 1.101 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2752, allocations: 4.188 kB / 1.101 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2754, allocations: 63.89 kB / 1.101 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006721/0.2761, allocations: 263.2 kB / 1.101 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.2761, allocations: 8 kB / 1.101 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005098/0.2812, allocations: 6.599 MB / 1.108 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2812, allocations: 4.031 kB / 1.108 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.2826, allocations: 0.9838 MB / 1.109 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.2828, allocations: 192.2 kB / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.2829, allocations: 11.94 kB / 1.109 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.2832, allocations: 31.95 kB / 1.109 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.2833, allocations: 43.89 kB / 1.109 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.2833, allocations: 12 kB / 1.109 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003503/0.2837, allocations: 383.1 kB / 1.109 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.382e-06/0.2837, allocations: 4 kB / 1.109 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006183/0.2843, allocations: 231.9 kB / 1.11 GB, free: 14.36 MB / 0.8731 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.001544/0.2859, allocations: 1.544 MB / 1.111 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.2875, allocations: 1.268 MB / 1.112 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2876, allocations: 0 / 1.112 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.2886, allocations: 0.8971 MB / 1.113 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2897, allocations: 197.4 kB / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/0.2972, allocations: 6.817 MB / 1.12 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.2977, allocations: 1.013 MB / 1.121 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.2981, allocations: 126.1 kB / 1.121 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.2983, allocations: 259.3 kB / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.2983, allocations: 0 / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.571/2.87, allocations: 16.32 MB / 1.137 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/2.87, allocations: 236.4 kB / 1.138 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/5.325, allocations: 5.25 kB / 1.138 GB, free: 1.461 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches