Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_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_9_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.005267/0.005271, allocations: 99.61 kB / 15.73 MB, free: 6.055 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: 199.2 kB / 16.68 MB, free: 5.984 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 58.16 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2385, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007639/0.2461, allocations: 6.08 MB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004754/0.2509, allocations: 3.137 MB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.2514, allocations: 27.81 kB / 1.097 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.2538, allocations: 0.9259 MB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.2548, allocations: 477.5 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.2559, allocations: 486.5 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2571, allocations: 1.092 MB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008512/0.258, allocations: 0.646 MB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000581/0.2585, allocations: 438.4 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.2591, allocations: 466.2 kB / 1.101 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.147e-05/0.2592, allocations: 60 kB / 1.101 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007142/0.2599, allocations: 487 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.2602, allocations: 291.2 kB / 1.102 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.2605, allocations: 401.9 kB / 1.102 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2616, allocations: 1.176 MB / 1.103 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2616, allocations: 0 / 1.103 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2616, allocations: 0 / 1.103 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.2616, allocations: 0 / 1.103 GB, free: 1.848 MB / 0.8575 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.001441/0.2631, allocations: 1.052 MB / 1.104 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2631, allocations: 8.031 kB / 1.104 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.2632, allocations: 118.7 kB / 1.104 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.2647, allocations: 215.6 kB / 1.105 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.2655, allocations: 0.5844 MB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.2656, allocations: 49.67 kB / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2657, allocations: 68.34 kB / 1.105 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.267, allocations: 1.03 MB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.267, allocations: 11.92 kB / 1.106 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.2671, allocations: 31.98 kB / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.03e-05/0.2672, allocations: 65.28 kB / 1.106 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009823/0.2682, allocations: 0.6957 MB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.2727, allocations: 5.733 MB / 1.113 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007821/0.2735, allocations: 0.5902 MB / 1.113 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.2743, allocations: 440.5 kB / 1.114 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.2744, allocations: 4 kB / 1.114 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2744, allocations: 34.56 kB / 1.114 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.2744, allocations: 7.938 kB / 1.114 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.004096/0.2785, allocations: 2.011 MB / 1.116 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2786, allocations: 59.39 kB / 1.116 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.279, allocations: 458.7 kB / 1.116 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.279, allocations: 29.7 kB / 1.116 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2793, allocations: 391 kB / 1.117 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.2794, allocations: 145.9 kB / 1.117 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.2795, allocations: 110.2 kB / 1.117 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2797, allocations: 362.8 kB / 1.117 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.28, allocations: 245.2 kB / 1.117 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.2805, allocations: 453 kB / 1.118 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.2813, allocations: 0.748 MB / 1.119 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2813, allocations: 0 / 1.119 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001746/0.2831, allocations: 1.039 MB / 1.12 GB, free: 72 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2831, allocations: 9.406 kB / 1.12 GB, free: 64 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.2831, allocations: 11.94 kB / 1.12 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009806/0.2841, allocations: 323.1 kB / 1.12 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.2844, allocations: 95.83 kB / 1.12 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006682/0.2911, allocations: 7.478 MB / 1.127 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.2915, allocations: 36.02 kB / 1.127 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.2915, allocations: 24 kB / 1.127 GB, free: 7.531 MB / 0.8887 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.0002603/0.2918, allocations: 245.6 kB / 1.128 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/0.2919, allocations: 59.28 kB / 1.128 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.2935, allocations: 0.8883 MB / 1.128 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2936, allocations: 4 kB / 1.128 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2936, allocations: 7.938 kB / 1.129 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2936, allocations: 3.984 kB / 1.129 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.2961, allocations: 1.676 MB / 1.13 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2961, allocations: 0 / 1.13 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.2963, allocations: 44.19 kB / 1.13 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009014/0.2972, allocations: 315.2 kB / 1.13 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.2972, allocations: 8 kB / 1.13 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006595/0.3038, allocations: 7.454 MB / 1.138 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3039, allocations: 3.938 kB / 1.138 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.3054, allocations: 0.9955 MB / 1.139 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.3056, allocations: 168.4 kB / 1.139 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.3057, allocations: 12 kB / 1.139 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.306, allocations: 31.91 kB / 1.139 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.3061, allocations: 39.89 kB / 1.139 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3061, allocations: 12 kB / 1.139 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002999/0.3064, allocations: 306.9 kB / 1.139 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3064, allocations: 4 kB / 1.139 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000643/0.3071, allocations: 192 kB / 1.139 GB, free: 10.33 MB / 0.9044 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.00186/0.3089, allocations: 1.556 MB / 1.141 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.3107, allocations: 1.188 MB / 1.142 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3107, allocations: 0 / 1.142 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3119, allocations: 0.8575 MB / 1.143 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/0.3129, allocations: 203.8 kB / 1.143 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007391/0.3203, allocations: 5.832 MB / 1.149 GB, free: 228 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3209, allocations: 0.9843 MB / 1.15 GB, free: 15.21 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.3211, allocations: 105.2 kB / 1.15 GB, free: 15.11 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.3214, allocations: 227.4 kB / 1.15 GB, free: 14.89 MB / 0.92 GB Notification: Performance of SimCode: time 3.01e-07/0.3214, allocations: 0 / 1.15 GB, free: 14.89 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.363, allocations: 15.27 MB / 1.165 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.793/10.16, allocations: 8.516 kB / 1.165 GB, free: 15.82 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches