Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001212, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.42/2.42, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.47 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.239, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005432/0.2444, allocations: 4.918 MB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.2479, allocations: 2.51 MB / 1.059 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.2482, allocations: 27.75 kB / 1.059 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009348/0.2491, allocations: 362.5 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007163/0.2498, allocations: 414 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.2505, allocations: 362.2 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008723/0.2514, allocations: 1.139 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.2519, allocations: 347.3 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.2522, allocations: 306.6 kB / 1.062 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.2526, allocations: 354.4 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.2526, allocations: 28 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.2532, allocations: 495 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.2534, allocations: 179.4 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.2537, allocations: 310.2 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007584/0.2544, allocations: 0.8917 MB / 1.064 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2544, allocations: 0 / 1.064 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2544, allocations: 4 kB / 1.064 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.2545, allocations: 0 / 1.064 GB, free: 11.57 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00117/0.2556, allocations: 0.9463 MB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2557, allocations: 12.03 kB / 1.065 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.548e-05/0.2558, allocations: 98.69 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.2569, allocations: 199.8 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.2575, allocations: 0.4904 MB / 1.066 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2575, allocations: 33.36 kB / 1.066 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.2576, allocations: 48.34 kB / 1.066 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.2585, allocations: 0.8446 MB / 1.067 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2585, allocations: 11.94 kB / 1.067 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.2585, allocations: 23.98 kB / 1.067 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.797e-05/0.2586, allocations: 72.89 kB / 1.067 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.2594, allocations: 0.5656 MB / 1.068 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.2629, allocations: 5.666 MB / 1.073 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.2635, allocations: 446.3 kB / 1.074 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.2638, allocations: 228.7 kB / 1.074 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.2638, allocations: 0.5312 kB / 1.074 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2639, allocations: 38.56 kB / 1.074 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.2639, allocations: 4 kB / 1.074 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002185/0.2661, allocations: 1.509 MB / 1.075 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.2661, allocations: 55.69 kB / 1.076 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.2665, allocations: 0.4913 MB / 1.076 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.2666, allocations: 29.7 kB / 1.076 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.2668, allocations: 366.7 kB / 1.076 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.2669, allocations: 126.3 kB / 1.076 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.267, allocations: 106.2 kB / 1.077 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2671, allocations: 366.8 kB / 1.077 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.2674, allocations: 197.2 kB / 1.077 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.2678, allocations: 447.3 kB / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.2685, allocations: 0.6876 MB / 1.078 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2685, allocations: 4 kB / 1.078 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001119/0.2696, allocations: 0.8057 MB / 1.079 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2696, allocations: 12 kB / 1.079 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2696, allocations: 11.98 kB / 1.079 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.2701, allocations: 152.2 kB / 1.079 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.2705, allocations: 123.7 kB / 1.079 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.2731, allocations: 4.04 MB / 1.083 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2735, allocations: 31.97 kB / 1.083 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.2735, allocations: 28 kB / 1.083 GB, free: 6.836 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.2737, allocations: 209.7 kB / 1.083 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.2738, allocations: 71.17 kB / 1.084 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/0.2747, allocations: 0.605 MB / 1.084 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2747, allocations: 0 / 1.084 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2747, allocations: 7.938 kB / 1.084 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2747, allocations: 4 kB / 1.084 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.2763, allocations: 1.269 MB / 1.085 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2763, allocations: 4 kB / 1.085 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.2765, allocations: 51.89 kB / 1.085 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003806/0.2769, allocations: 136.2 kB / 1.086 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.277, allocations: 8 kB / 1.086 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.2795, allocations: 4.036 MB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2795, allocations: 0 / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.2804, allocations: 0.7039 MB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.2806, allocations: 172.2 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.2807, allocations: 12 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.2809, allocations: 23.97 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.281, allocations: 27.95 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.281, allocations: 8 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003063/0.2813, allocations: 342.8 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2813, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005465/0.2819, allocations: 144 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.283, allocations: 1.265 MB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.2842, allocations: 1.036 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2842, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007321/0.2849, allocations: 0.7308 MB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.2858, allocations: 189.4 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.2914, allocations: 5.449 MB / 1.099 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.2919, allocations: 0.9136 MB / 1.1 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003185/0.2922, allocations: 121.3 kB / 1.1 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.2924, allocations: 191.4 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.2924, allocations: 0 / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5049/0.7973, allocations: 12.31 MB / 1.113 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.7976, allocations: 254.2 kB / 1.113 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.763, allocations: 3.625 kB / 1.113 GB, free: 7.598 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches