Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_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_latest_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.00115/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.185/1.185, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.384/2.384, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 61.62 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2349, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007014/0.2419, allocations: 6.098 MB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.2463, allocations: 3.161 MB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004831/0.2468, allocations: 27.81 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.2489, allocations: 0.8746 MB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2499, allocations: 442 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.2509, allocations: 438.1 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.2523, allocations: 1.459 MB / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.2531, allocations: 0.625 MB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005355/0.2536, allocations: 390.3 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.2542, allocations: 490.1 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.2543, allocations: 44 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.2551, allocations: 0.5808 MB / 1.066 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.2554, allocations: 271.2 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.2558, allocations: 389.9 kB / 1.067 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.2569, allocations: 1.18 MB / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2569, allocations: 0 / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2569, allocations: 0 / 1.068 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.2569, allocations: 0 / 1.068 GB, free: 7.793 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001303/0.2582, allocations: 1.052 MB / 1.069 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2582, allocations: 15.97 kB / 1.069 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.2584, allocations: 110.7 kB / 1.069 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.2597, allocations: 215.7 kB / 1.07 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.2603, allocations: 0.5376 MB / 1.07 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.2604, allocations: 49.67 kB / 1.07 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.2605, allocations: 64.28 kB / 1.07 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.2617, allocations: 1.037 MB / 1.071 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2617, allocations: 11.94 kB / 1.071 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.2618, allocations: 27.98 kB / 1.071 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/0.2618, allocations: 69.27 kB / 1.071 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009051/0.2628, allocations: 0.6957 MB / 1.072 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.2667, allocations: 5.737 MB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.2675, allocations: 0.6058 MB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.2681, allocations: 420.6 kB / 1.079 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.2682, allocations: 4 kB / 1.079 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2682, allocations: 38.56 kB / 1.079 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.423e-06/0.2682, allocations: 0 / 1.079 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.003804/0.272, allocations: 2.053 MB / 1.081 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2721, allocations: 59.34 kB / 1.081 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.2725, allocations: 454.8 kB / 1.081 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2725, allocations: 33.7 kB / 1.081 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.2727, allocations: 387 kB / 1.082 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.787e-05/0.2728, allocations: 153.9 kB / 1.082 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2729, allocations: 110.2 kB / 1.082 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2731, allocations: 366.8 kB / 1.082 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.2734, allocations: 245.1 kB / 1.082 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.2738, allocations: 465 kB / 1.083 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/0.2746, allocations: 0.748 MB / 1.084 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2746, allocations: 4 kB / 1.084 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001651/0.2762, allocations: 1.065 MB / 1.085 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2763, allocations: 8.875 kB / 1.085 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2763, allocations: 8 kB / 1.085 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.2773, allocations: 331.1 kB / 1.085 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2775, allocations: 99.81 kB / 1.085 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00581/0.2834, allocations: 6.95 MB / 1.092 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.2837, allocations: 28.03 kB / 1.092 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.2837, allocations: 28 kB / 1.092 GB, free: 13.98 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 (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.0002413/0.284, allocations: 245.5 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.284, allocations: 63.28 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.2856, allocations: 0.9078 MB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2856, allocations: 4 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2856, allocations: 4 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2856, allocations: 3.984 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.2879, allocations: 1.716 MB / 1.095 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2879, allocations: 192 / 1.095 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.2881, allocations: 55.84 kB / 1.095 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008895/0.289, allocations: 323.3 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.289, allocations: 8 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005651/0.2947, allocations: 6.94 MB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2947, allocations: 0 / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.2962, allocations: 1.015 MB / 1.103 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.2964, allocations: 172.4 kB / 1.103 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.2964, allocations: 8 kB / 1.103 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.2967, allocations: 19.97 kB / 1.103 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.2968, allocations: 43.83 kB / 1.103 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.2968, allocations: 19.98 kB / 1.103 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002601/0.2971, allocations: 302.9 kB / 1.103 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2971, allocations: 0 / 1.103 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005927/0.2977, allocations: 200 kB / 1.104 GB, free: 1.223 MB / 0.8575 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.001689/0.2994, allocations: 1.561 MB / 1.105 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.301, allocations: 1.191 MB / 1.106 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.301, allocations: 0 / 1.106 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.3021, allocations: 0.8623 MB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.303, allocations: 198.2 kB / 1.107 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/0.3101, allocations: 6.243 MB / 1.113 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3106, allocations: 0.9959 MB / 1.114 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.3108, allocations: 93.19 kB / 1.114 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.3111, allocations: 227.4 kB / 1.115 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.3111, allocations: 0 / 1.115 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.703/1.014, allocations: 14.71 MB / 1.129 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/1.014, allocations: 238.6 kB / 1.129 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.836, allocations: 0 / 1.129 GB, free: 6.641 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches