Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_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.004988/0.004988, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001408/0.001408, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.575/2.575, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2831, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006495/0.2896, allocations: 4.902 MB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00384/0.2935, allocations: 2.475 MB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.2937, allocations: 27.75 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.2948, allocations: 417.7 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008481/0.2957, allocations: 445.6 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.2965, allocations: 399.2 kB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009887/0.2975, allocations: 0.9212 MB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.298, allocations: 354.5 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.2984, allocations: 346.7 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.2989, allocations: 354.4 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.157e-05/0.2989, allocations: 36 kB / 1.231 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.2996, allocations: 395.1 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.2998, allocations: 187.4 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.3001, allocations: 322.2 kB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009902/0.3011, allocations: 0.8909 MB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3011, allocations: 0 / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3011, allocations: 4 kB / 1.232 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3011, allocations: 0 / 1.232 GB, free: 1.875 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.001383/0.3025, allocations: 0.9649 MB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3026, allocations: 16.03 kB / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.554e-05/0.3027, allocations: 86.7 kB / 1.233 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.3038, allocations: 216.2 kB / 1.234 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.3046, allocations: 0.5494 MB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.3047, allocations: 37.36 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.3047, allocations: 48.36 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3058, allocations: 0.8446 MB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.3058, allocations: 11.94 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.3059, allocations: 23.94 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-05/0.306, allocations: 60.95 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.3068, allocations: 0.5695 MB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.3112, allocations: 5.647 MB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.3119, allocations: 456.7 kB / 1.242 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.3122, allocations: 225.8 kB / 1.242 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3122, allocations: 7.984 kB / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3123, allocations: 46.44 kB / 1.242 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 3.386e-06/0.3123, allocations: 7.984 kB / 1.242 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002444/0.3147, allocations: 1.516 MB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3148, allocations: 59.62 kB / 1.243 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.3153, allocations: 0.4952 MB / 1.244 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3153, allocations: 33.7 kB / 1.244 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.3157, allocations: 367.7 kB / 1.244 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/0.3158, allocations: 123 kB / 1.244 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3159, allocations: 110.2 kB / 1.244 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3161, allocations: 374.8 kB / 1.245 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.3164, allocations: 189.2 kB / 1.245 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.3169, allocations: 447.3 kB / 1.245 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.3177, allocations: 0.6835 MB / 1.246 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3177, allocations: 0 / 1.246 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001251/0.3189, allocations: 0.8219 MB / 1.247 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.319, allocations: 8 kB / 1.247 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.319, allocations: 8 kB / 1.247 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.3194, allocations: 160.1 kB / 1.247 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.3199, allocations: 119.8 kB / 1.247 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4993/0.8192, allocations: 4.343 MB / 1.251 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.8198, allocations: 31.22 kB / 1.251 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.8198, allocations: 31.56 kB / 1.251 GB, free: 26.34 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.0002417/0.8201, allocations: 214.3 kB / 1.252 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.8201, allocations: 66.62 kB / 1.252 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000976/0.8211, allocations: 0.6017 MB / 1.252 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.8211, allocations: 4.438 kB / 1.252 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.8211, allocations: 1.578 kB / 1.252 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8212, allocations: 2.734 kB / 1.252 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.8227, allocations: 1.263 MB / 1.254 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8227, allocations: 1.125 kB / 1.254 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.823, allocations: 54.48 kB / 1.254 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.8234, allocations: 146 kB / 1.254 GB, free: 25.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.8234, allocations: 11.31 kB / 1.254 GB, free: 25.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.8255, allocations: 4.336 MB / 1.258 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8255, allocations: 4.594 kB / 1.258 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.8264, allocations: 0.7196 MB / 1.259 GB, free: 21.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.8265, allocations: 169.4 kB / 1.259 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.8266, allocations: 8.531 kB / 1.259 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.8269, allocations: 24.83 kB / 1.259 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.8269, allocations: 37.19 kB / 1.259 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.827, allocations: 8.188 kB / 1.259 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003233/0.8273, allocations: 344 kB / 1.259 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8273, allocations: 0 / 1.259 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006172/0.8279, allocations: 146.8 kB / 1.259 GB, free: 21.19 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.0009914/0.8289, allocations: 1.256 MB / 1.261 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.83, allocations: 1.05 MB / 1.262 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.83, allocations: 0 / 1.262 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.8306, allocations: 0.7408 MB / 1.262 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.8315, allocations: 210.2 kB / 1.263 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.8361, allocations: 5.154 MB / 1.268 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.8364, allocations: 0.9125 MB / 1.269 GB, free: 16.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000299/0.8367, allocations: 114.3 kB / 1.269 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.8369, allocations: 198.6 kB / 1.269 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.8369, allocations: 0 / 1.269 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.632/2.468, allocations: 12.85 MB / 1.281 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/15.87, allocations: 7.234 kB / 1.281 GB, free: 15.07 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches