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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005102/0.005102, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001494/0.001494, allocations: 191.8 kB / 16.67 MB, free: 5.926 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001779, allocations: 61.23 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2793, allocations: 162.3 MB / 1.242 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00626/0.2856, allocations: 4.907 MB / 1.247 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.2893, allocations: 2.479 MB / 1.249 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.2895, allocations: 27.81 kB / 1.249 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2906, allocations: 401.9 kB / 1.249 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007699/0.2913, allocations: 437.7 kB / 1.25 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.2921, allocations: 402.8 kB / 1.25 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.293, allocations: 0.9251 MB / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.2935, allocations: 358.8 kB / 1.252 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.2939, allocations: 346.6 kB / 1.252 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.2943, allocations: 354.4 kB / 1.252 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.2944, allocations: 40 kB / 1.252 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.2949, allocations: 391.1 kB / 1.253 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2951, allocations: 183.4 kB / 1.253 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.2954, allocations: 318.2 kB / 1.253 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009417/0.2964, allocations: 0.8987 MB / 1.254 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2964, allocations: 0 / 1.254 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2964, allocations: 0 / 1.254 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.2964, allocations: 4 kB / 1.254 GB, free: 12.49 MB / 0.9825 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.001288/0.2977, allocations: 0.9726 MB / 1.255 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2977, allocations: 8.031 kB / 1.255 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.2978, allocations: 94.69 kB / 1.255 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.299, allocations: 208.2 kB / 1.255 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.2998, allocations: 0.5534 MB / 1.256 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.2998, allocations: 33.38 kB / 1.256 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.2999, allocations: 52.31 kB / 1.256 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3009, allocations: 0.8407 MB / 1.257 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3009, allocations: 7.938 kB / 1.257 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.301, allocations: 23.98 kB / 1.257 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.878e-05/0.3011, allocations: 68.95 kB / 1.257 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008022/0.3019, allocations: 0.5616 MB / 1.257 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004276/0.3062, allocations: 5.659 MB / 1.263 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.3068, allocations: 454.8 kB / 1.263 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.3071, allocations: 224.7 kB / 1.263 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.3072, allocations: 4 kB / 1.263 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3072, allocations: 39.09 kB / 1.264 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.3072, allocations: 0 / 1.264 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002409/0.3096, allocations: 1.516 MB / 1.265 GB, free: 440 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3097, allocations: 59.62 kB / 1.265 GB, free: 368 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.3102, allocations: 0.503 MB / 1.266 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3102, allocations: 29.7 kB / 1.266 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.3105, allocations: 367.8 kB / 1.266 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.3106, allocations: 127 kB / 1.266 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3107, allocations: 110.2 kB / 1.266 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3109, allocations: 366.8 kB / 1.266 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.3112, allocations: 193.2 kB / 1.267 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.3117, allocations: 452.5 kB / 1.267 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.3125, allocations: 0.6919 MB / 1.268 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3125, allocations: 4 kB / 1.268 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001226/0.3137, allocations: 0.8102 MB / 1.269 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3137, allocations: 14.06 kB / 1.269 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3138, allocations: 8 kB / 1.269 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.3142, allocations: 160 kB / 1.269 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.3147, allocations: 123.8 kB / 1.269 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.3181, allocations: 4.344 MB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.3184, allocations: 31.97 kB / 1.273 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.3184, allocations: 32 kB / 1.273 GB, free: 7.312 MB / 0.9981 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.0002428/0.3187, allocations: 225.5 kB / 1.273 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.3188, allocations: 63.62 kB / 1.273 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.3198, allocations: 0.5892 MB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3198, allocations: 4 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3198, allocations: 4 kB / 1.274 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3198, allocations: 0 / 1.274 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.3216, allocations: 1.274 MB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3216, allocations: 7.984 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3218, allocations: 48.17 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/0.3222, allocations: 148.1 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.3223, allocations: 11.94 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/0.3256, allocations: 4.344 MB / 1.28 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3256, allocations: 4.031 kB / 1.28 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.3266, allocations: 0.7087 MB / 1.28 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.3268, allocations: 172.7 kB / 1.281 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.3268, allocations: 11.98 kB / 1.281 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3271, allocations: 19.97 kB / 1.281 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.3272, allocations: 35.91 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3272, allocations: 12 kB / 1.281 GB, free: 15.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003425/0.3275, allocations: 338.8 kB / 1.281 GB, free: 14.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3275, allocations: 0 / 1.281 GB, free: 14.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005615/0.3281, allocations: 136 kB / 1.281 GB, free: 14.55 MB / 1.014 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.001283/0.3294, allocations: 1.276 MB / 1.282 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.3307, allocations: 1.037 MB / 1.283 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3307, allocations: 0 / 1.283 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.3316, allocations: 0.7382 MB / 1.284 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.3325, allocations: 210.5 kB / 1.284 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.3385, allocations: 5.155 MB / 1.289 GB, free: 5.523 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.339, allocations: 0.9137 MB / 1.29 GB, free: 4.582 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002898/0.3393, allocations: 117.3 kB / 1.29 GB, free: 4.465 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.3396, allocations: 195.4 kB / 1.291 GB, free: 4.273 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.3396, allocations: 0 / 1.291 GB, free: 4.273 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.081/3.42, allocations: 12.86 MB / 1.303 GB, free: 7.699 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/22.21, allocations: 9.453 kB / 1.303 GB, free: 7.691 MB / 1.029 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=400 --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