Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0008958/0.0008959, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004774/0.004774, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 8.312 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005616/0.2393, allocations: 5.682 MB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00396/0.2433, allocations: 3.118 MB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.2435, allocations: 23.81 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.2438, allocations: 123 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007465/0.2446, allocations: 442 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000796/0.2454, allocations: 439.1 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2465, allocations: 1.459 MB / 1.07 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.2479, allocations: 0.9877 MB / 1.071 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.2483, allocations: 358.3 kB / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.2488, allocations: 450.2 kB / 1.072 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.2488, allocations: 28 kB / 1.072 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.2495, allocations: 0.5769 MB / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.2497, allocations: 255.2 kB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.25, allocations: 383.7 kB / 1.073 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000917/0.251, allocations: 1.156 MB / 1.074 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.251, allocations: 7.875 kB / 1.074 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.128e-06/0.251, allocations: 7.984 kB / 1.074 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.251, allocations: 0 / 1.074 GB, free: 5.391 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00118/0.2522, allocations: 0.9077 MB / 1.075 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2522, allocations: 15.97 kB / 1.075 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.2523, allocations: 110.7 kB / 1.075 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.2537, allocations: 223.7 kB / 1.075 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.2543, allocations: 0.5298 MB / 1.076 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.2544, allocations: 53.67 kB / 1.076 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.87e-05/0.2545, allocations: 56.38 kB / 1.076 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.2557, allocations: 1.041 MB / 1.077 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.2557, allocations: 7.938 kB / 1.077 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.2558, allocations: 27.98 kB / 1.077 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-05/0.2559, allocations: 69.27 kB / 1.077 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.2568, allocations: 0.6918 MB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.2608, allocations: 5.756 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.2615, allocations: 0.6111 MB / 1.084 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/0.2622, allocations: 412.6 kB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2623, allocations: 4 kB / 1.084 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2623, allocations: 38.56 kB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.492e-06/0.2623, allocations: 4 kB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.003892/0.2662, allocations: 2.065 MB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.2662, allocations: 55.41 kB / 1.086 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.2666, allocations: 454.8 kB / 1.087 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.2667, allocations: 37.69 kB / 1.087 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.2669, allocations: 395 kB / 1.087 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.267, allocations: 145.9 kB / 1.087 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.2671, allocations: 49.69 kB / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2672, allocations: 362.8 kB / 1.088 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.2675, allocations: 249.1 kB / 1.088 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.2679, allocations: 453 kB / 1.088 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.2687, allocations: 0.7558 MB / 1.089 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2688, allocations: 0 / 1.089 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001662/0.2704, allocations: 1.065 MB / 1.09 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2704, allocations: 8 kB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.2705, allocations: 8.844 kB / 1.09 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009527/0.2714, allocations: 335.1 kB / 1.09 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.2717, allocations: 99.77 kB / 1.09 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/0.2774, allocations: 6.946 MB / 1.097 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.2778, allocations: 36.03 kB / 1.097 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2778, allocations: 24 kB / 1.097 GB, free: 11.77 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002602/0.2781, allocations: 253.5 kB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.2782, allocations: 59.25 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.2798, allocations: 0.9118 MB / 1.099 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2798, allocations: 8 kB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2798, allocations: 8 kB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2798, allocations: 3.984 kB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.2821, allocations: 1.704 MB / 1.1 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2821, allocations: 4 kB / 1.1 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2823, allocations: 43.84 kB / 1.1 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008716/0.2832, allocations: 323.5 kB / 1.101 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.2832, allocations: 12 kB / 1.101 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.2889, allocations: 6.943 MB / 1.107 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2889, allocations: 4 kB / 1.107 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.2903, allocations: 1.003 MB / 1.108 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.2905, allocations: 188.2 kB / 1.109 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.2906, allocations: 8 kB / 1.109 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.2909, allocations: 19.97 kB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.291, allocations: 43.89 kB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.291, allocations: 11.94 kB / 1.109 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002749/0.2913, allocations: 310.9 kB / 1.109 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2913, allocations: 0 / 1.109 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006245/0.2919, allocations: 196 kB / 1.109 GB, free: 15 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.2936, allocations: 1.554 MB / 1.111 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.2952, allocations: 1.202 MB / 1.112 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2952, allocations: 288 / 1.112 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.2962, allocations: 0.8623 MB / 1.113 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.2972, allocations: 188.7 kB / 1.113 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.3042, allocations: 6.263 MB / 1.119 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.3047, allocations: 0.9959 MB / 1.12 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000262/0.305, allocations: 101.2 kB / 1.12 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.3052, allocations: 227.4 kB / 1.12 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.3052, allocations: 4 kB / 1.12 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.753/3.058, allocations: 14.44 MB / 1.134 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/3.059, allocations: 237.8 kB / 1.135 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/5.466, allocations: 0 / 1.135 GB, free: 4.676 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches