Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.008626/0.008626, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001925/0.001925, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.504/2.504, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.66 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2822, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00923/0.2915, allocations: 6.737 MB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005207/0.2967, allocations: 3.036 MB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007952/0.2976, allocations: 27.81 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.3004, allocations: 0.948 MB / 1.098 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.3018, allocations: 0.5012 MB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3031, allocations: 429.6 kB / 1.099 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.3047, allocations: 1.22 MB / 1.1 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.3059, allocations: 0.6572 MB / 1.101 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.3067, allocations: 486.2 kB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.3077, allocations: 0.5176 MB / 1.102 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.3079, allocations: 68 kB / 1.102 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000913/0.3088, allocations: 375.2 kB / 1.102 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003959/0.3092, allocations: 307.2 kB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.3099, allocations: 457.7 kB / 1.103 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3114, allocations: 1.208 MB / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3114, allocations: 0 / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3115, allocations: 0 / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.57e-05/0.3115, allocations: 0 / 1.104 GB, free: 1.023 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002182/0.3137, allocations: 1.165 MB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3137, allocations: 8.031 kB / 1.105 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.3139, allocations: 122.7 kB / 1.105 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.3155, allocations: 239.6 kB / 1.105 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.3166, allocations: 0.5921 MB / 1.106 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.3166, allocations: 49.67 kB / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3168, allocations: 60.36 kB / 1.106 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.3183, allocations: 1.089 MB / 1.107 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.3184, allocations: 11.84 kB / 1.107 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.3185, allocations: 31.94 kB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.3186, allocations: 85.25 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3199, allocations: 0.7582 MB / 1.108 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006113/0.326, allocations: 5.874 MB / 1.114 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.3271, allocations: 0.5568 MB / 1.114 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.3275, allocations: 330 kB / 1.115 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.3276, allocations: 8.438 kB / 1.115 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3276, allocations: 39 kB / 1.115 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.326e-06/0.3276, allocations: 0 / 1.115 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004014/0.3317, allocations: 1.986 MB / 1.117 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3317, allocations: 55.84 kB / 1.117 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.3325, allocations: 0.5509 MB / 1.117 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.3325, allocations: 29.7 kB / 1.117 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.3328, allocations: 418.9 kB / 1.118 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.333, allocations: 169.6 kB / 1.118 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.3332, allocations: 122.5 kB / 1.118 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3334, allocations: 382.7 kB / 1.118 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.3338, allocations: 277.8 kB / 1.119 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.3343, allocations: 496.9 kB / 1.119 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.3353, allocations: 0.8055 MB / 1.12 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3353, allocations: 0 / 1.12 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00195/0.3372, allocations: 1.09 MB / 1.121 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.3373, allocations: 9.562 kB / 1.121 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.3373, allocations: 8 kB / 1.121 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009028/0.3382, allocations: 279.8 kB / 1.121 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.3387, allocations: 127.8 kB / 1.121 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/0.3451, allocations: 7.129 MB / 1.128 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.3457, allocations: 39.97 kB / 1.128 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.3458, allocations: 24 kB / 1.128 GB, free: 6.473 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003975/0.3462, allocations: 261.5 kB / 1.129 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.3464, allocations: 71.34 kB / 1.129 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.348, allocations: 0.8924 MB / 1.13 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.348, allocations: 4 kB / 1.13 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.348, allocations: 8 kB / 1.13 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.348, allocations: 3.984 kB / 1.13 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.3509, allocations: 1.728 MB / 1.131 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.3509, allocations: 11.88 kB / 1.131 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3512, allocations: 59.89 kB / 1.131 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007617/0.352, allocations: 263.4 kB / 1.132 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.352, allocations: 8 kB / 1.132 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006579/0.3586, allocations: 7.118 MB / 1.139 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3587, allocations: 4.031 kB / 1.139 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.3606, allocations: 0.9873 MB / 1.139 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.3611, allocations: 188.3 kB / 1.14 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.3613, allocations: 11.94 kB / 1.14 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.3618, allocations: 31.95 kB / 1.14 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.362, allocations: 35.95 kB / 1.14 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.362, allocations: 16.19 kB / 1.14 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005501/0.3626, allocations: 387.1 kB / 1.14 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.81e-07/0.3626, allocations: 4 kB / 1.14 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001144/0.3637, allocations: 224 kB / 1.14 GB, free: 9.43 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/0.3658, allocations: 1.548 MB / 1.142 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.368, allocations: 1.26 MB / 1.143 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.3681, allocations: 8.062 kB / 1.143 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.3694, allocations: 0.897 MB / 1.144 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.3706, allocations: 226.3 kB / 1.144 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.3799, allocations: 6.349 MB / 1.15 GB, free: 14.64 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.3806, allocations: 1.009 MB / 1.151 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004008/0.381, allocations: 118 kB / 1.151 GB, free: 13.49 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.3813, allocations: 255.3 kB / 1.152 GB, free: 13.25 MB / 0.92 GB Notification: Performance of SimCode: time 1.052e-06/0.3813, allocations: 3.938 kB / 1.152 GB, free: 13.24 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04918/0.4305, allocations: 17.67 MB / 1.169 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.87, allocations: 7.984 kB / 1.169 GB, free: 11.83 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches