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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001842/0.001842, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002322/0.002322, allocations: 195.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.363/2.363, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.711/3.711, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 66.98 kB / 0.8987 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2436, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007409/0.251, allocations: 6.094 MB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004418/0.2555, allocations: 3.129 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.256, allocations: 23.81 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2581, allocations: 0.8906 MB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.2592, allocations: 430 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2602, allocations: 445.7 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.2614, allocations: 1.096 MB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009363/0.2624, allocations: 0.7055 MB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.263, allocations: 442.3 kB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.2636, allocations: 494.2 kB / 1.066 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.2637, allocations: 56 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000737/0.2645, allocations: 495 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.2647, allocations: 283.2 kB / 1.067 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.2652, allocations: 397.9 kB / 1.067 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.2664, allocations: 1.203 MB / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2664, allocations: 0 / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2664, allocations: 0 / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.2664, allocations: 0 / 1.068 GB, free: 8.5 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.001588/0.268, allocations: 1.052 MB / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2681, allocations: 8.625 kB / 1.069 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.2682, allocations: 122.7 kB / 1.069 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.2696, allocations: 211.7 kB / 1.07 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.2703, allocations: 0.5376 MB / 1.07 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.2704, allocations: 49.61 kB / 1.07 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.2705, allocations: 68.27 kB / 1.07 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.2718, allocations: 1.034 MB / 1.071 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.2719, allocations: 7.938 kB / 1.071 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.2719, allocations: 27.98 kB / 1.071 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-05/0.272, allocations: 69.28 kB / 1.071 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.2731, allocations: 0.6918 MB / 1.072 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/0.2776, allocations: 5.752 MB / 1.078 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.2784, allocations: 0.598 MB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.2791, allocations: 420.6 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.2791, allocations: 4 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2791, allocations: 34.56 kB / 1.079 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 3.536e-06/0.2792, allocations: 3.984 kB / 1.079 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.003994/0.2832, allocations: 2.053 MB / 1.081 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2832, allocations: 59.39 kB / 1.081 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.2836, allocations: 454.8 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.2837, allocations: 37.7 kB / 1.081 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2839, allocations: 391 kB / 1.081 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.284, allocations: 145.9 kB / 1.082 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.2842, allocations: 110.2 kB / 1.082 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2843, allocations: 362.8 kB / 1.082 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.2847, allocations: 249.2 kB / 1.082 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.2851, allocations: 461 kB / 1.083 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.2859, allocations: 0.7442 MB / 1.083 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2859, allocations: 4 kB / 1.083 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001727/0.2877, allocations: 1.07 MB / 1.085 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2877, allocations: 8 kB / 1.085 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2877, allocations: 4 kB / 1.085 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009566/0.2887, allocations: 339 kB / 1.085 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.289, allocations: 99.81 kB / 1.085 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006499/0.2955, allocations: 7.521 MB / 1.092 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.2958, allocations: 36.02 kB / 1.092 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.2959, allocations: 31.98 kB / 1.092 GB, free: 14.08 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.000253/0.2961, allocations: 242.8 kB / 1.093 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.2962, allocations: 59.39 kB / 1.093 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.2978, allocations: 0.9233 MB / 1.094 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2978, allocations: 4 kB / 1.094 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2978, allocations: 4 kB / 1.094 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2978, allocations: 0 / 1.094 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.3002, allocations: 1.7 MB / 1.095 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3002, allocations: 4 kB / 1.095 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3004, allocations: 39.97 kB / 1.095 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008783/0.3013, allocations: 335.3 kB / 1.096 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.3013, allocations: 4.281 kB / 1.096 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006421/0.3078, allocations: 7.505 MB / 1.103 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3078, allocations: 4 kB / 1.103 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.3093, allocations: 1.028 MB / 1.104 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.3095, allocations: 168.4 kB / 1.104 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.3095, allocations: 12 kB / 1.104 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.3098, allocations: 23.97 kB / 1.104 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.3099, allocations: 35.95 kB / 1.104 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.3099, allocations: 8 kB / 1.104 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002765/0.3102, allocations: 318.8 kB / 1.104 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3102, allocations: 3.938 kB / 1.104 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006107/0.3108, allocations: 196 kB / 1.105 GB, free: 0.7344 MB / 0.8575 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.001782/0.3126, allocations: 1.556 MB / 1.106 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.3143, allocations: 1.242 MB / 1.107 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3143, allocations: 0 / 1.107 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3154, allocations: 0.866 MB / 1.108 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008901/0.3163, allocations: 216.8 kB / 1.108 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.3238, allocations: 6.23 MB / 1.115 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.3243, allocations: 0.9921 MB / 1.115 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.3246, allocations: 97.17 kB / 1.116 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.3248, allocations: 231.4 kB / 1.116 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of SimCode: time 1.603e-06/0.3248, allocations: 0 / 1.116 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.031/3.356, allocations: 15.16 MB / 1.131 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/3.356, allocations: 231.6 kB / 1.131 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/6.29, allocations: 6.438 kB / 1.131 GB, free: 5.672 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