Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_R,fileNamePrefix="Buildings_latest_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_latest_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.001077/0.001077, 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.001135/0.001135, allocations: 194.7 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 65.36 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.229, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007694/0.2368, allocations: 6.734 MB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.241, allocations: 3.047 MB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/0.2415, allocations: 23.88 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.2436, allocations: 0.9452 MB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009701/0.2446, allocations: 0.509 MB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.2455, allocations: 418.1 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2465, allocations: 1.22 MB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008058/0.2474, allocations: 0.6703 MB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.2479, allocations: 470.3 kB / 1.067 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.2485, allocations: 0.5214 MB / 1.067 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.2486, allocations: 64 kB / 1.067 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005904/0.2492, allocations: 383.2 kB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.2495, allocations: 303.2 kB / 1.068 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.2499, allocations: 449.7 kB / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2509, allocations: 1.199 MB / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2509, allocations: 0 / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.333e-06/0.251, allocations: 0 / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.251, allocations: 8 kB / 1.069 GB, free: 7.289 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001671/0.2527, allocations: 1.157 MB / 1.071 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2527, allocations: 12.62 kB / 1.071 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.2528, allocations: 118.7 kB / 1.071 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.2543, allocations: 231.7 kB / 1.071 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.255, allocations: 0.5452 MB / 1.071 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.255, allocations: 49.62 kB / 1.071 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.2551, allocations: 64.36 kB / 1.072 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2563, allocations: 1.085 MB / 1.073 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2564, allocations: 11.84 kB / 1.073 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-05/0.2564, allocations: 35.97 kB / 1.073 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.2566, allocations: 81.27 kB / 1.073 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2576, allocations: 0.7543 MB / 1.073 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/0.262, allocations: 5.901 MB / 1.079 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/0.2629, allocations: 0.5554 MB / 1.08 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.2633, allocations: 326 kB / 1.08 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.2633, allocations: 8.422 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2633, allocations: 39 kB / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.473e-06/0.2633, allocations: 0 / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003331/0.2667, allocations: 1.986 MB / 1.082 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2667, allocations: 55.84 kB / 1.082 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.2672, allocations: 0.547 MB / 1.083 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2673, allocations: 33.7 kB / 1.083 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2675, allocations: 422.9 kB / 1.083 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2676, allocations: 169.6 kB / 1.083 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2678, allocations: 130.5 kB / 1.083 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2679, allocations: 374.7 kB / 1.084 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.2683, allocations: 277.8 kB / 1.084 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.2688, allocations: 489 kB / 1.084 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/0.2696, allocations: 0.8132 MB / 1.085 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2697, allocations: 4 kB / 1.085 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001579/0.2712, allocations: 1.086 MB / 1.086 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2713, allocations: 8 kB / 1.086 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2713, allocations: 12.78 kB / 1.086 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/0.272, allocations: 283.2 kB / 1.087 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.2725, allocations: 123.8 kB / 1.087 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.2781, allocations: 7.13 MB / 1.094 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.2786, allocations: 48.06 kB / 1.094 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.2786, allocations: 27.98 kB / 1.094 GB, free: 12.77 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 (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.0002601/0.2789, allocations: 253.5 kB / 1.094 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.279, allocations: 67.25 kB / 1.094 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.2803, allocations: 0.8962 MB / 1.095 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2804, allocations: 7.938 kB / 1.095 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2804, allocations: 4 kB / 1.095 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2804, allocations: 3.984 kB / 1.095 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.2826, allocations: 1.724 MB / 1.097 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2826, allocations: 7.938 kB / 1.097 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.2828, allocations: 64.08 kB / 1.097 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006498/0.2835, allocations: 263.4 kB / 1.097 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.2835, allocations: 15.98 kB / 1.097 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005456/0.289, allocations: 7.126 MB / 1.104 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.289, allocations: 0 / 1.104 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2903, allocations: 0.9834 MB / 1.105 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.2905, allocations: 184.3 kB / 1.105 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.2906, allocations: 15.94 kB / 1.105 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.291, allocations: 27.91 kB / 1.105 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.291, allocations: 47.94 kB / 1.105 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.2911, allocations: 16 kB / 1.105 GB, free: 332 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000355/0.2914, allocations: 387.1 kB / 1.106 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2914, allocations: 0 / 1.106 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006276/0.2921, allocations: 220 kB / 1.106 GB, free: 15.74 MB / 0.8731 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.001539/0.2936, allocations: 1.54 MB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.2954, allocations: 1.338 MB / 1.109 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2954, allocations: 0 / 1.109 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.2965, allocations: 0.8894 MB / 1.109 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.2974, allocations: 226.2 kB / 1.11 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007246/0.3047, allocations: 6.519 MB / 1.116 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.3052, allocations: 1.005 MB / 1.117 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003672/0.3055, allocations: 126 kB / 1.117 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.3058, allocations: 247.4 kB / 1.117 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.3058, allocations: 0 / 1.117 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.947/3.253, allocations: 17.12 MB / 1.134 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/15.71, allocations: 4.766 kB / 1.134 GB, free: 2.484 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches