Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.00168/0.00168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 72.7 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2497, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01295/0.2626, allocations: 10.9 MB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.2743, allocations: 8.794 MB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.2748, allocations: 55.69 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.2784, allocations: 1.679 MB / 1.085 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.2811, allocations: 1.533 MB / 1.087 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.2823, allocations: 0.6688 MB / 1.087 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.2845, allocations: 2.271 MB / 1.089 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.2861, allocations: 1.391 MB / 1.091 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.2872, allocations: 0.9809 MB / 1.092 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.2884, allocations: 1.023 MB / 1.093 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.2886, allocations: 136 kB / 1.093 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.2898, allocations: 0.7994 MB / 1.094 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005368/0.2904, allocations: 0.5648 MB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.2912, allocations: 0.8861 MB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.2937, allocations: 2.539 MB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2937, allocations: 0 / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2937, allocations: 0 / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.2937, allocations: 0 / 1.098 GB, free: 11.84 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002998/0.2968, allocations: 2.027 MB / 1.099 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2968, allocations: 8.031 kB / 1.1 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.297, allocations: 186.1 kB / 1.1 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.3077, allocations: 2.054 MB / 1.102 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.3094, allocations: 1.119 MB / 1.103 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.3095, allocations: 86.69 kB / 1.103 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.3097, allocations: 123.9 kB / 1.103 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005123/0.3148, allocations: 2.478 MB / 1.105 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.3149, allocations: 15.84 kB / 1.105 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.315, allocations: 51.98 kB / 1.105 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003332/0.3154, allocations: 130.1 kB / 1.106 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006877/0.3223, allocations: 2.541 MB / 1.108 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.3348, allocations: 10.06 MB / 1.118 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/0.3409, allocations: 1.952 MB / 1.12 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/0.3435, allocations: 0.9719 MB / 1.121 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.3436, allocations: 12.42 kB / 1.121 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3436, allocations: 42.98 kB / 1.121 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/0.3436, allocations: 0 / 1.121 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.02956/0.3732, allocations: 8.703 MB / 1.129 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3732, allocations: 64 kB / 1.129 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.3746, allocations: 1.101 MB / 1.13 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.591e-05/0.3746, allocations: 45.7 kB / 1.13 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.3752, allocations: 0.7341 MB / 1.131 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.3755, allocations: 283.9 kB / 1.131 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.3759, allocations: 198.4 kB / 1.132 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.376, allocations: 341.9 kB / 1.132 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.3789, allocations: 1.079 MB / 1.133 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/0.3819, allocations: 1.301 MB / 1.134 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/0.3878, allocations: 2.382 MB / 1.137 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.3878, allocations: 4 kB / 1.137 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008366/0.3962, allocations: 3.273 MB / 1.14 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3962, allocations: 11.98 kB / 1.14 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3963, allocations: 11.94 kB / 1.14 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.3989, allocations: 0.7953 MB / 1.141 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.4007, allocations: 419.3 kB / 1.141 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.4172, allocations: 15.93 MB / 1.157 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.4192, allocations: 287.5 kB / 1.157 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.4193, allocations: 51.95 kB / 1.157 GB, free: 12.53 MB / 0.92 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0006449/0.42, allocations: 401.5 kB / 1.157 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.4202, allocations: 142.3 kB / 1.157 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008625/0.4288, allocations: 3.202 MB / 1.161 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4289, allocations: 12 kB / 1.161 GB, free: 8.734 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4289, allocations: 8 kB / 1.161 GB, free: 8.727 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4289, allocations: 3.984 kB / 1.161 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.4395, allocations: 4.916 MB / 1.165 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4395, allocations: 0 / 1.165 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.4411, allocations: 355.4 kB / 1.166 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/0.4433, allocations: 0.7098 MB / 1.166 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/0.4434, allocations: 35.91 kB / 1.166 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.4592, allocations: 15.53 MB / 1.182 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.4592, allocations: 11.92 kB / 1.182 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007842/0.4671, allocations: 3.042 MB / 1.185 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.4677, allocations: 379.2 kB / 1.185 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.4679, allocations: 20 kB / 1.185 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.4696, allocations: 291.4 kB / 1.185 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.4698, allocations: 84.48 kB / 1.185 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.4699, allocations: 39.97 kB / 1.185 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009571/0.4708, allocations: 0.7366 MB / 1.186 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.4708, allocations: 0 / 1.186 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001231/0.4721, allocations: 436 kB / 1.187 GB, free: 12.79 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008148/0.4802, allocations: 3.616 MB / 1.19 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008366/0.4886, allocations: 3.758 MB / 1.194 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4886, allocations: 0 / 1.194 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004881/0.4935, allocations: 2.368 MB / 1.196 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.4954, allocations: 0.5246 MB / 1.197 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/0.5274, allocations: 16.57 MB / 1.213 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.5285, allocations: 1.388 MB / 1.214 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001353/0.5299, allocations: 379.8 kB / 1.214 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.5307, allocations: 0.6047 MB / 1.215 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.5307, allocations: 0 / 1.215 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.664/4.195, allocations: 41.22 MB / 1.255 GB, free: 175 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/19.82, allocations: 9.344 kB / 1.255 GB, free: 175 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches