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.0007535/0.0007535, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005124/0.005124, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 10.75 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2974, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004895/0.3023, allocations: 4.525 MB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003818/0.3061, allocations: 2.471 MB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.3066, allocations: 23.75 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.3069, allocations: 95.16 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.3081, allocations: 414 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.3089, allocations: 366.4 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3105, allocations: 1.139 MB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/0.3114, allocations: 468.2 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.312, allocations: 286.6 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.3126, allocations: 334.5 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.053e-05/0.3127, allocations: 20 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008769/0.3136, allocations: 499 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.3138, allocations: 167.3 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.3141, allocations: 319.9 kB / 1.07 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.3151, allocations: 0.8837 MB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3151, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3151, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.3151, allocations: 0 / 1.07 GB, free: 8.875 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.001326/0.3164, allocations: 0.8413 MB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3165, allocations: 11.97 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.3166, allocations: 94.69 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.3179, allocations: 203.8 kB / 1.072 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006686/0.3186, allocations: 494.3 kB / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3186, allocations: 37.36 kB / 1.072 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.3187, allocations: 44.28 kB / 1.072 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3198, allocations: 0.8485 MB / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.3198, allocations: 11.94 kB / 1.073 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.3199, allocations: 23.98 kB / 1.073 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.665e-05/0.32, allocations: 68.89 kB / 1.073 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.3208, allocations: 0.5656 MB / 1.074 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.3249, allocations: 5.65 MB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.3255, allocations: 454.3 kB / 1.08 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.3258, allocations: 224.7 kB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3258, allocations: 4.531 kB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3259, allocations: 42.55 kB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.3259, allocations: 4 kB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002338/0.3282, allocations: 1.516 MB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.3283, allocations: 55.69 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.3287, allocations: 0.5029 MB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3288, allocations: 29.7 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.329, allocations: 362.8 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.3291, allocations: 122.3 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.3292, allocations: 49.69 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3293, allocations: 366.8 kB / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3296, allocations: 193.2 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.33, allocations: 451.3 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007529/0.3307, allocations: 0.6954 MB / 1.084 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3307, allocations: 4 kB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0012/0.3319, allocations: 0.8016 MB / 1.085 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.332, allocations: 12.19 kB / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.332, allocations: 12 kB / 1.085 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/0.3324, allocations: 156 kB / 1.085 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.3329, allocations: 119.8 kB / 1.085 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.3357, allocations: 4.04 MB / 1.089 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.3361, allocations: 31.97 kB / 1.089 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3361, allocations: 28 kB / 1.089 GB, free: 4.297 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.000232/0.3364, allocations: 217.7 kB / 1.089 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.3365, allocations: 63.25 kB / 1.089 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009716/0.3375, allocations: 0.5972 MB / 1.09 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3375, allocations: 8 kB / 1.09 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3375, allocations: 3.938 kB / 1.09 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3375, allocations: 3.984 kB / 1.09 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.3391, allocations: 1.266 MB / 1.091 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3391, allocations: 0 / 1.091 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3394, allocations: 55.95 kB / 1.091 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.3398, allocations: 144.3 kB / 1.091 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3398, allocations: 8 kB / 1.091 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.3425, allocations: 4.028 MB / 1.095 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3425, allocations: 4.156 kB / 1.095 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.3434, allocations: 0.7115 MB / 1.096 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.3436, allocations: 172.2 kB / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.3436, allocations: 8 kB / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3439, allocations: 23.97 kB / 1.096 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.344, allocations: 23.97 kB / 1.096 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.344, allocations: 19.98 kB / 1.096 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003137/0.3443, allocations: 338.8 kB / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3443, allocations: 0 / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005644/0.3449, allocations: 140 kB / 1.097 GB, free: 11.88 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.001169/0.3461, allocations: 1.264 MB / 1.098 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.3473, allocations: 1.033 MB / 1.099 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3473, allocations: 4 kB / 1.099 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007514/0.3481, allocations: 0.7349 MB / 1.1 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3492, allocations: 193 kB / 1.1 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.355, allocations: 5.472 MB / 1.105 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3554, allocations: 0.9137 MB / 1.106 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000328/0.3557, allocations: 121.3 kB / 1.106 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.3559, allocations: 195.4 kB / 1.106 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.356, allocations: 0 / 1.106 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3793, allocations: 12.16 MB / 1.118 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.3795, allocations: 243.4 kB / 1.119 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.333, allocations: 2 kB / 1.119 GB, free: 5.219 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