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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007278/0.007278, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001563/0.001563, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.666/2.666, allocations: 469.4 MB / 0.7422 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.05 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2982, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006697/0.305, allocations: 4.907 MB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004319/0.3093, allocations: 2.475 MB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005636/0.3099, allocations: 31.75 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.3114, allocations: 409 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.3127, allocations: 473.6 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009824/0.3137, allocations: 403.1 kB / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3149, allocations: 0.9251 MB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.3155, allocations: 354.5 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005788/0.3161, allocations: 346.7 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005705/0.3167, allocations: 350.5 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3168, allocations: 39.98 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.3176, allocations: 395.1 kB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.3178, allocations: 179.4 kB / 1.231 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.3182, allocations: 322.2 kB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3194, allocations: 0.8987 MB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3194, allocations: 0 / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3194, allocations: 0 / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.3195, allocations: 0 / 1.232 GB, free: 2.148 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.001698/0.3212, allocations: 0.9688 MB / 1.233 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3212, allocations: 12.03 kB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.3214, allocations: 90.69 kB / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3227, allocations: 212.2 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.3236, allocations: 0.5611 MB / 1.234 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3236, allocations: 33.38 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/0.3237, allocations: 44.36 kB / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3247, allocations: 0.8484 MB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.3248, allocations: 7.938 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.3248, allocations: 23.98 kB / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.562e-05/0.3249, allocations: 68.94 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.3258, allocations: 0.5617 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.33, allocations: 5.651 MB / 1.241 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.3306, allocations: 454.8 kB / 1.241 GB, free: 8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.3309, allocations: 229.2 kB / 1.241 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.331, allocations: 7.984 kB / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.331, allocations: 38.5 kB / 1.241 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.512e-06/0.331, allocations: 0 / 1.241 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002445/0.3335, allocations: 1.524 MB / 1.243 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3335, allocations: 51.69 kB / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.334, allocations: 0.4991 MB / 1.243 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.3341, allocations: 37.7 kB / 1.243 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.3343, allocations: 367.7 kB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/0.3344, allocations: 119 kB / 1.244 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3345, allocations: 110.2 kB / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3347, allocations: 370.8 kB / 1.244 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.335, allocations: 193.2 kB / 1.245 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.3354, allocations: 443.3 kB / 1.245 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.3361, allocations: 0.6913 MB / 1.246 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3361, allocations: 0 / 1.246 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001226/0.3374, allocations: 0.8173 MB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3374, allocations: 8 kB / 1.247 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3374, allocations: 8 kB / 1.247 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.3379, allocations: 160.8 kB / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.3383, allocations: 119.8 kB / 1.247 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5737/0.912, allocations: 4.342 MB / 1.251 GB, free: 26.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.9126, allocations: 36.41 kB / 1.251 GB, free: 26.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.9127, allocations: 30.28 kB / 1.251 GB, free: 26.99 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.0003368/0.913, allocations: 211.6 kB / 1.251 GB, free: 26.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.9131, allocations: 68.77 kB / 1.251 GB, free: 26.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.9142, allocations: 0.5998 MB / 1.252 GB, free: 26.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.9142, allocations: 7.109 kB / 1.252 GB, free: 26.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.9142, allocations: 2.188 kB / 1.252 GB, free: 26.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9142, allocations: 1.781 kB / 1.252 GB, free: 26.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.9159, allocations: 1.259 MB / 1.253 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.9159, allocations: 3.312 kB / 1.253 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.9162, allocations: 54.55 kB / 1.253 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.9166, allocations: 143.7 kB / 1.253 GB, free: 26.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.9166, allocations: 7.922 kB / 1.253 GB, free: 26.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.9189, allocations: 4.344 MB / 1.258 GB, free: 22.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9189, allocations: 5.25 kB / 1.258 GB, free: 22.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.9197, allocations: 0.7156 MB / 1.258 GB, free: 22.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.92, allocations: 170.1 kB / 1.258 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.92, allocations: 12.34 kB / 1.259 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.9203, allocations: 29.95 kB / 1.259 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.9203, allocations: 30.81 kB / 1.259 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.9204, allocations: 11.28 kB / 1.259 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003299/0.9207, allocations: 338.5 kB / 1.259 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9207, allocations: 0 / 1.259 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006169/0.9213, allocations: 146.1 kB / 1.259 GB, free: 21.84 MB / 0.9981 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.001044/0.9224, allocations: 1.267 MB / 1.26 GB, free: 21.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.9235, allocations: 1.043 MB / 1.261 GB, free: 20.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9236, allocations: 0 / 1.261 GB, free: 20.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/0.9242, allocations: 0.7346 MB / 1.262 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008883/0.9251, allocations: 206.4 kB / 1.262 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.9298, allocations: 5.16 MB / 1.267 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.9302, allocations: 0.9105 MB / 1.268 GB, free: 16.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.9305, allocations: 125.4 kB / 1.268 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.9307, allocations: 197.7 kB / 1.268 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.9307, allocations: 0 / 1.268 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.9725, allocations: 12.86 MB / 1.281 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.955/10.93, allocations: 13.7 kB / 1.281 GB, free: 15.72 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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