Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001275/0.001275, allocations: 194.3 kB / 16.14 MB, free: 6.66 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.38/2.38, allocations: 461.8 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.14 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2331, allocations: 157.4 MB / 1.052 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006682/0.2398, allocations: 5.557 MB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003936/0.2438, allocations: 2.654 MB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.2442, allocations: 23.81 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.2459, allocations: 0.6449 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009478/0.2469, allocations: 386.1 kB / 1.061 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.2478, allocations: 363.3 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.2491, allocations: 1.255 MB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000777/0.2499, allocations: 458.3 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005635/0.2505, allocations: 326.6 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000625/0.2511, allocations: 414.3 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2513, allocations: 36 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.252, allocations: 443.1 kB / 1.064 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.2523, allocations: 227.3 kB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.2527, allocations: 334.2 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2537, allocations: 0.9694 MB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2537, allocations: 4 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2537, allocations: 0 / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.2537, allocations: 0 / 1.066 GB, free: 10.04 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001766/0.2555, allocations: 0.9777 MB / 1.067 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2556, allocations: 15.97 kB / 1.067 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.2557, allocations: 98.69 kB / 1.067 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.257, allocations: 195.8 kB / 1.067 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.2577, allocations: 494.4 kB / 1.068 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.2577, allocations: 45.31 kB / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.2579, allocations: 60.44 kB / 1.068 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.259, allocations: 0.8258 MB / 1.069 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.259, allocations: 11.94 kB / 1.069 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.2591, allocations: 20 kB / 1.069 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.2593, allocations: 60.95 kB / 1.069 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008358/0.2601, allocations: 0.5736 MB / 1.069 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.2641, allocations: 4.593 MB / 1.074 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.2645, allocations: 295.2 kB / 1.074 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.2648, allocations: 225.2 kB / 1.074 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.2649, allocations: 8.281 kB / 1.074 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2649, allocations: 38.83 kB / 1.074 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.2649, allocations: 0 / 1.074 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.005162/0.2701, allocations: 2.627 MB / 1.077 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2701, allocations: 55.41 kB / 1.077 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.2706, allocations: 466 kB / 1.077 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.2706, allocations: 29.7 kB / 1.077 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2708, allocations: 351.6 kB / 1.078 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2709, allocations: 149.9 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.2711, allocations: 102.2 kB / 1.078 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2712, allocations: 362.8 kB / 1.078 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.2715, allocations: 241 kB / 1.078 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.2719, allocations: 408.8 kB / 1.079 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000772/0.2727, allocations: 0.674 MB / 1.08 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2727, allocations: 0 / 1.08 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001514/0.2742, allocations: 0.9246 MB / 1.08 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2743, allocations: 8 kB / 1.08 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2743, allocations: 4.656 kB / 1.08 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007391/0.275, allocations: 226.3 kB / 1.081 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.2755, allocations: 107.9 kB / 1.081 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.2799, allocations: 4.946 MB / 1.086 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.2803, allocations: 31.97 kB / 1.086 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.2803, allocations: 24 kB / 1.086 GB, free: 4.547 MB / 0.8419 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.0002579/0.2806, allocations: 221.7 kB / 1.086 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.2807, allocations: 55.34 kB / 1.086 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.2821, allocations: 0.785 MB / 1.087 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2821, allocations: 4 kB / 1.087 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2821, allocations: 0 / 1.087 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2821, allocations: 3.984 kB / 1.087 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.2843, allocations: 1.494 MB / 1.088 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2843, allocations: 4.219 kB / 1.088 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.2847, allocations: 72.08 kB / 1.088 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006466/0.2853, allocations: 206.4 kB / 1.088 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.2854, allocations: 12 kB / 1.088 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.2895, allocations: 4.876 MB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.2895, allocations: 7.969 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.2911, allocations: 1.143 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.2913, allocations: 168.4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.175e-05/0.2914, allocations: 8 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.2917, allocations: 27.97 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.2918, allocations: 40.09 kB / 1.095 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2918, allocations: 19.92 kB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002976/0.2921, allocations: 322.8 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2921, allocations: 0 / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005657/0.2927, allocations: 164 kB / 1.095 GB, free: 10.35 MB / 0.8575 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.001872/0.2946, allocations: 1.681 MB / 1.097 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.296, allocations: 1.016 MB / 1.098 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2961, allocations: 4 kB / 1.098 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009239/0.297, allocations: 0.676 MB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/0.2978, allocations: 176.6 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.3053, allocations: 5.937 MB / 1.104 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.3058, allocations: 0.9494 MB / 1.105 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003615/0.3062, allocations: 109 kB / 1.105 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.3065, allocations: 215.4 kB / 1.106 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.3065, allocations: 0 / 1.106 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/0.7097, allocations: 13.58 MB / 1.119 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.71, allocations: 250.5 kB / 1.119 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.813, allocations: 3.938 kB / 1.119 GB, free: 1.613 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches